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

Quick Search    Search Deep

edu.emory.mathcs.util.classloader.jar.* (3)

edu.emory.mathcs.util.classloader: Javadoc index of package edu.emory.mathcs.util.classloader.


Package Samples:

edu.emory.mathcs.util.classloader.jar: Set of classes supporting dynamic class and resource loading and simplifying development of custom class loaders.  

Classes:

ResourceLoader: This class aids in accessing remote resources referred by URLs. The URLs are resolved into resource handles which can be used to access the resources directly and uniformly, regardless of the URL type. The resource loader is particularly useful when dealing with resources fetched from JAR files. It maintains the cache of opened JAR files (so that so that subsequent requests for resources coming from the same base Jar file can be handled efficiently). It fully supports JAR class-path (references from a JAR file to other JAR files) and JAR index (JAR containing information about content of other ...
URIClassLoader: Equivalent of java.net.URLClassloader but without bugs related to ill-formed URLs and with customizable JAR caching policy. The standard URLClassLoader accepts URLs containing spaces and other characters which are forbidden in the URI syntax, according to the RFC 2396. As a workaround to this problem, Java escapes and un-escapes URLs in various arbitrary places; however, this is inconsistent and leads to numerous problems with URLs referring to local files with spaces in the path. SUN acknowledges the problem, see but refuses to modify the behavior for compatibility reasons; see Java Bug Parade ...
GenericClassLoader: This class loader can be used to find class, resource and library handles as well as load classes, resources and libraries using abstract ResourceFinder entity encapsulating the searching approach. Resource handles allow accessing meta-information (like Attributes, Certificates etc.) related to classes, resources and libraries prior to loading them. GenericClassLoader is intended to be used as a base for custom class loaders. In most applications, GenericClassLoader can be used directly -- the application-specific functionality of resource searching can often be completely delegated to the resource ...
ResourceHandle: This class represents a handle (a connection) to some resource, which may be a class, native library, text file, image, etc. Handles are returned by ResourceLoader 's get methods. Having the resource handle, in addition to accessing the resource data (using methods getInputStream() 55 or getBytes() 55 ) as well as access resource metadata, such as attributes, certificates, etc. As soon as the handle is no longer in use, it should be explicitly close() 55 d, similarly to I/O streams.
JarURLConnection: Alternative implementation of java.net.JarURLConnection which supports customizable JAR caching policies. It addresses bugs 4405789, 4388666, 4639900 in Java Bug Parade. SUN recommends to disable caches completely as a workaround for those bugs; however, this may significantly affect performance in case of resources downloaded from the network. This class is a part of the solution that allows to tailor the caching policy according to the program needs, with cache-per-classloader default policy.
JarURLStreamHandler: Alternative implementation of URLStreamHandler for JAR files that supports customizable JAR caching policies. It addresses bugs 4405789, 4388666, 4639900 in Java Bug Parade. SUN recommends to disable caches completely as a workaround for those bugs; however, this may significantly affect performance in case of resources downloaded from the network. This class is a part of the solution that allows to tailor the caching policy according to the program needs, with cache-per-classloader default policy.
ResourceFinder: Abstraction of resource searching policy. Given resource name, the resource finder performs implementation-specific lookup, and, if it is able to locate the resource, returns the handle(s) or URL(s) of it.
JarProxy: Implementation of JarURLConnection.JarOpener that caches downloaded JAR files in a local file system.
ResourceUtils: Utility methods related to remote resource access.
ResourceRetriever

Home | Contact Us | Privacy Policy | Terms of Service