Located in compilation unit of javassist.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv JarClassPath[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public URL | find(String
a fully-qualified class name. classname)Implements javassist. Returns the uniform resource locator (URL) of the class file with the specified name. |
| public InputStream | openClassfile(String
a fully-qualified class name classname)Implements javassist. Opens a class file. |
| jars | back to summary |
|---|---|
| pack-priv JarClassPath[] jars | |
| JarDirClassPath | back to summary |
|---|---|
| pack-priv JarDirClassPath(String dirName) throws NotFoundException | |
| find | back to summary |
|---|---|
| public URL find(String classname) Implements javassist. Doc from javassist. Returns the uniform resource locator (URL) of the class file with the specified name. | |
| openClassfile | back to summary |
|---|---|
| public InputStream openClassfile(String classname) throws NotFoundException Implements javassist. Doc from javassist. Opens a class file. This method may be called just to examine whether the class file exists as well as to read the contents of the file. This method can return null if the specified class file is not found. If null is returned, the next search path is examined. However, if an error happens, this method must throw an exception so that the search will be terminated. This method should not modify the contents of the class file.
| |