|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsun.misc.URLClassPath
test.contrib.classloader.Classpath
public class Classpath
Classpath resources.
This Class to access the resources whitch is into the class path and cache
the defined VM classes.
org.kemetex.kernel.UniversalClassLoader#addPath(Classpath)| Field Summary | |
|---|---|
protected java.util.Vector<java.lang.Class> |
cache
Cached classes |
protected java.util.ArrayList<Classpath> |
children
Children classpaths |
| Constructor Summary | |
|---|---|
Classpath(java.net.URL[] arg0,
java.io.File[] libs)
Creates a classpath for this URL's |
|
| Method Summary | |
|---|---|
protected boolean |
addChildren(Classpath path)
|
protected boolean |
contains(Classpath path)
|
java.net.URL |
find(java.lang.String arg0,
boolean arg1)
|
protected java.lang.Class |
findClass(java.lang.String name)
Gets a cached class |
protected Classpath |
findClasspath(java.lang.String arg0,
boolean arg1)
|
protected java.lang.String |
findLibrary(java.lang.String libname)
Returns the absolute path name of a native library |
java.net.URL |
findResource(java.lang.String arg0,
boolean arg1)
|
protected void |
linkClass(java.lang.Class clazz)
Adds a defined VM class to the cache list |
| Methods inherited from class sun.misc.URLClassPath |
|---|
addURL, checkURL, findResources, getResource, getResource, getResources, getResources, getURLs, pathToURLs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final java.util.Vector<java.lang.Class> cache
protected final java.util.ArrayList<Classpath> children
| Constructor Detail |
|---|
public Classpath(java.net.URL[] arg0,
java.io.File[] libs)
arg0 - the classpath urls| Method Detail |
|---|
protected java.lang.String findLibrary(java.lang.String libname)
libname - The library name
protected void linkClass(java.lang.Class clazz)
clazz - the class to be cachedClassLoader.defineClass(byte[], int, int)protected java.lang.Class findClass(java.lang.String name)
name - the class name
add or NULL overwiselinkClass(Class)
public java.net.URL find(java.lang.String arg0,
boolean arg1)
public java.net.URL findResource(java.lang.String arg0,
boolean arg1)
findResource in class sun.misc.URLClassPath
protected Classpath findClasspath(java.lang.String arg0,
boolean arg1)
protected boolean contains(Classpath path)
protected boolean addChildren(Classpath path)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||