|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectclassUtils.javassist.JarClassPath
public final class JarClassPath
| Method Summary | |
|---|---|
void |
close()
This method is invoked when the ClassPath object is
detached from the search path. |
java.io.InputStream |
openClassfile(java.lang.String classname)
Opens a class file. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.io.InputStream openClassfile(java.lang.String classname)
throws NotFoundException
ClassPathThis 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 is terminated.
This method should not modify the contents of the class file.
Use javassist.Translator for modification.
openClassfile in interface ClassPathclassname - a fully-qualified class name
NotFoundExceptionTranslatorpublic void close()
ClassPathClassPath object is
detached from the search path. It will be an empty method in most of
classes.
close in interface ClassPathpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||