java.lang
Class Class

java.lang.Object
  extended by java.lang.Class
All Implemented Interfaces:
Serializable

public final class Class
extends Object
implements Serializable

See Also:
Serialized Form

Method Summary
static Class forName(String var0)
           
static Class forName(String var0, boolean var1, ClassLoader var2)
           
 Class[] getClasses()
           
 ClassLoader getClassLoader()
           
 Class getComponentType()
           
 Constructor getConstructor(Class[] var0)
           
 Constructor[] getConstructors()
           
 Class[] getDeclaredClasses()
           
 Constructor getDeclaredConstructor(Class[] var0)
           
 Constructor[] getDeclaredConstructors()
           
 Field getDeclaredField(String var0)
           
 Field[] getDeclaredFields()
           
 Method getDeclaredMethod(String var0, Class[] var1)
           
 Method[] getDeclaredMethods()
           
 Class getDeclaringClass()
           
 Field getField(String var0)
           
 Field[] getFields()
           
 Class[] getInterfaces()
           
 Method getMethod(String var0, Class[] var1)
           
 Method[] getMethods()
           
 int getModifiers()
           
 String getName()
           
 Package getPackage()
           
 ProtectionDomain getProtectionDomain()
           
 URL getResource(String var0)
           
 InputStream getResourceAsStream(String var0)
           
 Object[] getSigners()
           
 Class getSuperclass()
           
 boolean isArray()
           
 boolean isAssignableFrom(Class var0)
           
 boolean isInstance(Object var0)
           
 boolean isInterface()
           
 boolean isPrimitive()
           
 Object newInstance()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

forName

public static Class forName(String var0)
                     throws ClassNotFoundException
Throws:
ClassNotFoundException

forName

public static Class forName(String var0,
                            boolean var1,
                            ClassLoader var2)
                     throws ClassNotFoundException
Throws:
ClassNotFoundException

getClasses

public Class[] getClasses()

getClassLoader

public ClassLoader getClassLoader()

getComponentType

public Class getComponentType()

getConstructor

public Constructor getConstructor(Class[] var0)
                           throws NoSuchMethodException,
                                  SecurityException
Throws:
NoSuchMethodException
SecurityException

getConstructors

public Constructor[] getConstructors()
                              throws SecurityException
Throws:
SecurityException

getDeclaredClasses

public Class[] getDeclaredClasses()
                           throws SecurityException
Throws:
SecurityException

getDeclaredConstructor

public Constructor getDeclaredConstructor(Class[] var0)
                                   throws NoSuchMethodException,
                                          SecurityException
Throws:
NoSuchMethodException
SecurityException

getDeclaredConstructors

public Constructor[] getDeclaredConstructors()
                                      throws SecurityException
Throws:
SecurityException

getDeclaredField

public Field getDeclaredField(String var0)
                       throws NoSuchFieldException,
                              SecurityException
Throws:
NoSuchFieldException
SecurityException

getDeclaredFields

public Field[] getDeclaredFields()
                          throws SecurityException
Throws:
SecurityException

getDeclaredMethod

public Method getDeclaredMethod(String var0,
                                Class[] var1)
                         throws NoSuchMethodException,
                                SecurityException
Throws:
NoSuchMethodException
SecurityException

getDeclaredMethods

public Method[] getDeclaredMethods()
                            throws SecurityException
Throws:
SecurityException

getDeclaringClass

public Class getDeclaringClass()

getField

public Field getField(String var0)
               throws NoSuchFieldException,
                      SecurityException
Throws:
NoSuchFieldException
SecurityException

getFields

public Field[] getFields()
                  throws SecurityException
Throws:
SecurityException

getInterfaces

public Class[] getInterfaces()

getMethod

public Method getMethod(String var0,
                        Class[] var1)
                 throws NoSuchMethodException,
                        SecurityException
Throws:
NoSuchMethodException
SecurityException

getMethods

public Method[] getMethods()
                    throws SecurityException
Throws:
SecurityException

getModifiers

public int getModifiers()

getName

public String getName()

getProtectionDomain

public ProtectionDomain getProtectionDomain()

getResource

public URL getResource(String var0)

getResourceAsStream

public InputStream getResourceAsStream(String var0)

getSigners

public Object[] getSigners()

getSuperclass

public Class getSuperclass()

isArray

public boolean isArray()

isAssignableFrom

public boolean isAssignableFrom(Class var0)

isInstance

public boolean isInstance(Object var0)

isInterface

public boolean isInterface()

isPrimitive

public boolean isPrimitive()

newInstance

public Object newInstance()
                   throws IllegalAccessException,
                          InstantiationException
Throws:
IllegalAccessException
InstantiationException

toString

public String toString()
Overrides:
toString in class Object

getPackage

public Package getPackage()


Copyright © 2006-2010 OSGi Alliance. All Rights Reserved.