|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.loader.Loader
com.caucho.loader.PathLoader
public class PathLoader
Class loader which loads specific paths.
| Field Summary |
|---|
| Fields inherited from class com.caucho.loader.Loader |
|---|
log |
| Constructor Summary | |
|---|---|
PathLoader()
Creates a new directory loader. |
|
| Method Summary | |
|---|---|
protected ClassEntry |
getClassEntry(java.lang.String name,
java.lang.String pathName)
Returns the class entry. |
Path |
getCodePath()
|
Path |
getPath(java.lang.String pathName)
Find a given path somewhere in the classpath |
void |
getResources(java.util.Vector<java.net.URL> vector,
java.lang.String name)
Adds resources to the enumeration. |
void |
init()
Initialize |
boolean |
isModified()
Returns the modified |
boolean |
logModified(java.util.logging.Logger log)
Returns the modified |
void |
put(java.lang.String name,
Path path)
Adds a new path. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.loader.Loader |
|---|
buildClassPath, buildSourcePath, destroy, getClassLoader, getCodeSource, getResource, getResourceAsStream, isDirectoryLoader, loadClass, setLoader, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PathLoader()
| Method Detail |
|---|
public void init()
init in class Loaderpublic boolean isModified()
isModified in interface Dependencypublic boolean logModified(java.util.logging.Logger log)
logModified in interface Dependency
public void put(java.lang.String name,
Path path)
protected ClassEntry getClassEntry(java.lang.String name,
java.lang.String pathName)
throws java.lang.ClassNotFoundException
getClassEntry in class Loadername - name of the class
java.lang.ClassNotFoundException
public void getResources(java.util.Vector<java.net.URL> vector,
java.lang.String name)
getResources in class Loadername - name of the resourcepublic Path getPath(java.lang.String pathName)
getPath in class LoaderpathName - the relative resourceName
public Path getCodePath()
public 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 | |||||||||