Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.net
Class URLClassLoader.RemoteURLLoader  view URLClassLoader.RemoteURLLoader download URLClassLoader.RemoteURLLoader.java

java.lang.Object
  extended byjava.net.URLClassLoader.URLLoader
      extended byjava.net.URLClassLoader.RemoteURLLoader
Enclosing class:
URLClassLoader

static final class URLClassLoader.RemoteURLLoader
extends URLClassLoader.URLLoader

Loader for remote directories.


Field Summary
(package private)  URL baseURL
          The base URL from which all resources are loaded.
(package private)  URLClassLoader classloader
          Our classloader to get info from if needed.
(package private)  java.security.CodeSource noCertCodeSource
          A CodeSource without any associated certificates.
private  java.lang.String protocol
           
 
Constructor Summary
(package private) URLClassLoader.RemoteURLLoader(URLClassLoader classloader, URL url)
           
 
Method Summary
(package private)  java.util.Vector getClassPath()
           
(package private)  java.util.jar.Manifest getManifest()
          Returns the Manifest associated with the Resources loaded by this URLLoader or null there is no such Manifest.
(package private)  URLClassLoader.Resource getResource(java.lang.String name)
          Get a remote resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

protocol

private final java.lang.String protocol

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.

Constructor Detail

URLClassLoader.RemoteURLLoader

URLClassLoader.RemoteURLLoader(URLClassLoader classloader,
                               URL url)
Method Detail

getResource

URLClassLoader.Resource getResource(java.lang.String name)
Get a remote resource. Returns null if no such resource exists.

Specified by:
getResource in class URLClassLoader.URLLoader

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()