java.net
Class URLClassLoader.URLLoader

java.lang.Object
java.net.URLClassLoader.URLLoader
- Direct Known Subclasses:
- URLClassLoader.FileURLLoader, URLClassLoader.JarURLLoader, URLClassLoader.RemoteURLLoader
- Enclosing class:
- URLClassLoader
- abstract static class URLClassLoader.URLLoader
- extends java.lang.Object
A URLLoader contains all logic to load resources from a
given base URL.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.URLLoader
URLClassLoader.URLLoader(URLClassLoader classloader,
URL baseURL)
URLClassLoader.URLLoader
URLClassLoader.URLLoader(URLClassLoader classloader,
URL baseURL,
URL overrideURL)
getResource
abstract URLClassLoader.Resource getResource(java.lang.String s)
- Returns a
Resource loaded by this
URLLoader, or null when no
Resource with the given name exists.
getManifest
java.util.jar.Manifest getManifest()
- Returns the
Manifest associated with the
Resources loaded by this URLLoader or
null there is no such Manifest.
getClassPath
java.util.Vector getClassPath()