| java.lang.Object org.apache.harmony.tools.ClassProvider
ClassProvider | public class ClassProvider (Code) | | This class locates a class in the given class path with the given name. You
can use this class to get a JavaClass object which represents the found
class.
This class depends on Apache Byte Code Engineering Library (BCEL) 5.0 or
later. Please see http://jakarta.apache.org/bcel for more information
about this library.
|
Constructor Summary | |
public | ClassProvider(String bootClasspath, String classpath, boolean verbose) Constructs a ClassProvider object. |
Method Summary | |
public synchronized JavaClass | getJavaClass(String name) Returns a JavaClass object which represents a class file with the given
name.
Parameters: name - - a fully qualified name of a class. |
ClassProvider | public ClassProvider(String bootClasspath, String classpath, boolean verbose)(Code) | | Constructs a ClassProvider object.
Parameters: bootClasspath - - a path that will be prepended to the default class path. Parameters: classpath - - a path that will be apppended to the default class path. Parameters: verbose - - a verbose output. |
getJavaClass | public synchronized JavaClass getJavaClass(String name) throws ClassNotFoundException(Code) | | Returns a JavaClass object which represents a class file with the given
name.
Parameters: name - - a fully qualified name of a class. a JavaClass object which represents a class file with the givenname. throws: ClassNotFoundException - if a class file with the given name isnot found. |
|
|