| java.lang.Object org.netbeans.lib.profiler.classfile.ClassPath
ClassPath | public class ClassPath (Code) | | Class path, that can be set containing both directories and .jar files, and then used to read a .class (.java)
file with a specified fully qualified name.
author: Misha Dmitirev |
ClassPath | public ClassPath(String classPath, boolean isCP)(Code) | | |
close | public void close()(Code) | | |
getClassInfoForClass | public DynamicClassInfo getClassInfoForClass(String className, int classLoaderId) throws IOException, ClassFormatError(Code) | | Searches for the class on this class path, reads it if found, and returns the DynamicClassInfo for it.
If class is not found, returns null. Exceptions are thrown if class file is found but something goes wrong when reading it.
|
getLocationForClass | public String getLocationForClass(String slashedClassName)(Code) | | Requires "slashed" class name. Returns the directory or .jar name where this class is located, or null if not found.
|
getZipFileForName | public ZipFile getZipFileForName(String zipFileName)(Code) | | This is used to avoid repetitive creation of ZipFiles in the code that reads files from JARs given just the name of the latter
|
|
|