Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
gnu.java.net.loader.URLLoader
gnu.java.net.loader.JarURLLoader
public final class JarURLLoader
extends URLLoader
JarURLLoader
is a type of URLLoader
only loading from jar url.
Constructor Summary | |
|
Method Summary | |
ArrayList |
|
Manifest |
|
Resource |
|
Methods inherited from class gnu.java.net.loader.URLLoader | |
getBaseURL , getClass , getClassPath , getManifest , getResource |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public JarURLLoader(URLClassLoader classloader, URLStreamHandlerCache cache, URLStreamHandlerFactory factory, URL baseURL, URL absoluteUrl)
public ArrayListgetClassPath()
Return a list of new URLLoader objects representing any class path entries added by this container.
- Overrides:
- getClassPath in interface URLLoader
public Manifest getManifest()
Returns theManifest
associated with theResource
s loaded by thisURLLoader
ornull
there is no suchManifest
.
- Overrides:
- getManifest in interface URLLoader
public Resource getResource(String name)
get resource with the name "name" in the jar url
- Overrides:
- getResource in interface URLLoader