public class JRLClassLoader
extends java.lang.ClassLoader
JRLClassLoader is a class loader implementation
that loads Java *.class and resource files using a
JavaResourceLocator instance.| Constructor and Description |
|---|
JRLClassLoader(java.lang.ClassLoader parent,
JavaResourceLocator locator)
Construct a JRLClassLoader instance with the given locator, delegating
first to the specified parent loader.
|
JRLClassLoader(JavaResourceLocator locator)
Construct a JRLClassLoader instance for the given locator.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Class |
findClass(java.lang.String name)
Finds the specified class.
|
protected java.net.URL |
findResource(java.lang.String name)
Finds the resource with the given name.
|
protected java.util.Enumeration<java.net.URL> |
findResources(java.lang.String name) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic JRLClassLoader(java.lang.ClassLoader parent,
JavaResourceLocator locator)
public JRLClassLoader(JavaResourceLocator locator)
protected java.lang.Class findClass(java.lang.String name)
throws java.lang.ClassNotFoundException
findClass in class java.lang.ClassLoadername - the name of the classjava.lang.ClassNotFoundException - if the class could not be foundprotected java.net.URL findResource(java.lang.String name)
findResource in class java.lang.ClassLoadername - the resource nameprotected java.util.Enumeration<java.net.URL> findResources(java.lang.String name)
throws java.io.IOException
findResources in class java.lang.ClassLoaderjava.io.IOException