|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--java.lang.Class
| Method Summary | |
static Class |
forName(java.lang.String className)
Create a Class object from the name of the class |
Class |
getComponentType()
Returns the Class representing the component type of an array. |
java.lang.String |
getName()
Get the name of the class as a string |
InputStream |
getResourceAsStream(java.lang.String name)
Get the resource as a stream |
boolean |
isArray()
Is it an array |
boolean |
isAssignableFrom(Class cls)
Is it assignable from a class |
boolean |
isInstance(Object obj)
Is this object an instance of this class |
boolean |
isInterface()
Is this an interface |
Object |
newInstance()
Create a new instance of this class |
java.lang.String |
toString()
Convert it to a string |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public static Class forName(java.lang.String className)
throws ClassNotFoundException
ClassNotFoundException - if the class is not foundpublic java.lang.String getName()
public InputStream getResourceAsStream(java.lang.String name)
name - The name of the resource
public boolean isArray()
public boolean isAssignableFrom(Class cls)
cls - The class to test
public boolean isInstance(Object obj)
obj - The object
public boolean isInterface()
public Class getComponentType()
public Object newInstance()
throws IllegalAccessException,
InstantiationException
IllegalAccessException
InstantiationExceptionpublic java.lang.String toString()
toString in class Object
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||