java.net
Class URLClassLoader.JarURLLoader

java.lang.Object
java.net.URLClassLoader.URLLoader
java.net.URLClassLoader.JarURLLoader
- Enclosing class:
- URLClassLoader
- static final class URLClassLoader.JarURLLoader
- extends URLClassLoader.URLLoader
A JarURLLoader is a type of URLLoader
only loading from jar url.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jarfile
final java.util.jar.JarFile jarfile
baseJarURL
final URL baseJarURL
classPath
java.util.Vector classPath
classloader
final URLClassLoader classloader
- Our classloader to get info from if needed.
baseURL
final URL baseURL
- The base URL from which all resources are loaded.
noCertCodeSource
final java.security.CodeSource noCertCodeSource
- A
CodeSource without any associated certificates.
It is common for classes to not have certificates associated
with them. If they come from the same URLLoader
then it is safe to share the associated CodeSource
between them since CodeSource is immutable.
URLClassLoader.JarURLLoader
public URLClassLoader.JarURLLoader(URLClassLoader classloader,
URL baseURL)
getResource
URLClassLoader.Resource getResource(java.lang.String name)
- get resource with the name "name" in the jar url
- Specified by:
getResource in class URLClassLoader.URLLoader
getManifest
java.util.jar.Manifest getManifest()
- Description copied from class:
URLClassLoader.URLLoader
- Returns the
Manifest associated with the
Resources loaded by this URLLoader or
null there is no such Manifest.
- Overrides:
getManifest in class URLClassLoader.URLLoader
getClassPath
java.util.Vector getClassPath()
- Overrides:
getClassPath in class URLClassLoader.URLLoader