| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectclassUtils.javassist.LoaderClassPath
public class LoaderClassPath
A class search-path representing a class loader.
It is used for obtaining a class file from the given
 class loader by getResourceAsStream().
 The LoaderClassPath refers to the class loader through
 WeakReference.  If the class loader is garbage collected,
 the other search pathes are examined.
ClassPath, 
ClassPool.insertClassPath(ClassPath), 
ClassPool.appendClassPath(ClassPath)| Constructor Summary | |
|---|---|
| LoaderClassPath(java.lang.ClassLoader cl)Creates a search path representing a class loader. | |
| Method Summary | |
|---|---|
|  void | close()Closes this class path. | 
|  java.io.InputStream | openClassfile(java.lang.String classname)Obtains a class file from the class loader. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public LoaderClassPath(java.lang.ClassLoader cl)
| Method Detail | 
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.io.InputStream openClassfile(java.lang.String classname)
openClassfile in interface ClassPathclassname - a fully-qualified class name
Translatorpublic void close()
close in interface ClassPath| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||