|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jdo.api.persistence.enhancer.util.ClassPath
public class ClassPath
ClassPath provides class file lookup according to a classpath specification.
| Constructor Summary | |
|---|---|
ClassPath(String path)
Construct a class path from the input String argument. |
|
| Method Summary | |
|---|---|
void |
append(com.sun.jdo.api.persistence.enhancer.util.ClassPathElement anElement)
Append a class path element to the classpath. |
void |
append(File directory)
Append a directory to the classpath. |
Enumeration |
classesInPackage(String packageName)
Return an enumeration of all of the class files in the specified package in this class path. |
static String |
classNameOf(String fileName)
Return the vm class name which corresponds to the input file name. |
static String |
fileNameOf(String className)
Return a file name which might reasonably identify a file containing the specified class. |
static String |
fileNameOf(String className,
char separator)
Return a file name which might reasonably identify a file containing the specified class. |
ClassFileSource |
findClass(String className)
locate a class file given a fully qualified class name |
boolean |
remove(File directory)
Remove any class path elements which match directory |
static String |
zipFileNameOf(String className)
Return a file name which might reasonably identify a file containing the specified class in a zip file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassPath(String path)
| Method Detail |
|---|
public ClassFileSource findClass(String className)
public static String fileNameOf(String className,
char separator)
public static String fileNameOf(String className)
public static String zipFileNameOf(String className)
public static String classNameOf(String fileName)
public boolean remove(File directory)
public void append(File directory)
public void append(com.sun.jdo.api.persistence.enhancer.util.ClassPathElement anElement)
public Enumeration classesInPackage(String packageName)
packageName - specifies the VM format package name
to which class files must belong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||