All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----openjava.util.PartialParser | +----openjava.tools.WrappedClass
Class
object associated with the class
with the given string name.
protected WrappedClass()
public static Class forName(String className) throws ClassNotFoundException
Class
object associated with the class
with the given string name.
Given the fully-qualified name for a class or interface, this
method attempts to locate, load and link the class. If it
succeeds, returns the Class object representing the class. If
it fails, the method throws a ClassNotFoundException.
For example, the following code fragment returns the runtime
Class
descriptor for the class named
java.lang.Thread
:
Class t = Class.forName("java.lang.Thread")
Class
descriptor for the class with the
specified name.
All Packages Class Hierarchy This Package Previous Next Index