|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.classfile.ClassPath
public class ClassPath
This class implements the conceptual directory structure for .class files
Constructor Summary | |
---|---|
ClassPath(String path)
Constructs a class path object. |
Method Summary | |
---|---|
static ClassInfo |
getClassInfo(String name,
boolean interfaceOnly)
|
static void |
init(String path)
initialization from a string that represents the class path |
ClassInfo |
loadClass(String name,
boolean interfaceOnly)
Loads the class with specified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassPath(String path)
path
- the directory names defining the class pathMethod Detail |
---|
public ClassInfo loadClass(String name, boolean interfaceOnly)
name
- the qualified name of the classinterfaceOnly
- do not load method code ?
public static void init(String path)
path
- the classpathpublic static ClassInfo getClassInfo(String name, boolean interfaceOnly)
name
- the name of the class file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |