gnu.java.net.loader

Class JarURLLoader


public final class JarURLLoader
extends URLLoader

A JarURLLoader is a type of URLLoader only loading from jar url.

Constructor Summary

JarURLLoader(URLClassLoader classloader, URLStreamHandlerCache cache, URLStreamHandlerFactory factory, URL baseURL, URL absoluteUrl)

Method Summary

ArrayList
getClassPath()
Manifest
getManifest()
Resource
getResource(String name)
get resource with the name "name" in the jar url

Methods inherited from class gnu.java.net.loader.URLLoader

getBaseURL, getClass, getClassPath, getManifest, getResource

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

JarURLLoader

public JarURLLoader(URLClassLoader classloader,
                    URLStreamHandlerCache cache,
                    URLStreamHandlerFactory factory,
                    URL baseURL,
                    URL absoluteUrl)

Method Details

getClassPath

public ArrayList getClassPath()
Overrides:
getClassPath in interface URLLoader

getManifest

public Manifest getManifest()
Overrides:
getManifest in interface URLLoader

getResource

public Resource getResource(String name)
get resource with the name "name" in the jar url
Overrides:
getResource in interface URLLoader