|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader org.w3c.jigsaw.pagecompile.GeneratedClassLoader
public class GeneratedClassLoader
Constructor Summary | |
---|---|
protected |
GeneratedClassLoader(java.io.File generatedClassDirectory)
|
protected |
GeneratedClassLoader(GeneratedClassLoader loader)
|
Method Summary | |
---|---|
protected void |
checkPackageAccess(java.lang.String name)
|
protected boolean |
classChanged(java.lang.String name)
|
protected java.lang.Class |
getCachedClass(java.lang.String name,
boolean resolve)
Get a cached class. |
protected java.lang.Class |
getNewClass(java.io.File classfile,
java.lang.String name,
boolean resolve)
Get a new class. |
java.net.URL |
getResource(java.lang.String name)
|
java.io.InputStream |
getResourceAsStream(java.lang.String name)
Get a resource as a stream. |
protected java.lang.Class |
loadClass(java.lang.String name,
boolean resolve)
Load a class. |
protected java.lang.Class |
loadClassFile(java.io.File file)
Load a Class from its class file.. |
protected java.io.File |
locateClass(java.lang.String name)
Given the class name, return its File name. |
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected GeneratedClassLoader(GeneratedClassLoader loader)
protected GeneratedClassLoader(java.io.File generatedClassDirectory)
Method Detail |
---|
protected boolean classChanged(java.lang.String name)
protected final java.lang.Class getCachedClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
- if the Class can't be foundprotected void checkPackageAccess(java.lang.String name)
protected java.io.File locateClass(java.lang.String name)
name
- The class to be loaded.
protected java.lang.Class loadClassFile(java.io.File file) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
- if the Class can't be foundprotected final java.lang.Class getNewClass(java.io.File classfile, java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
- if the Class can't be foundprotected java.lang.Class loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
- if the Class can't be foundpublic java.net.URL getResource(java.lang.String name)
getResource
in class java.lang.ClassLoader
public java.io.InputStream getResourceAsStream(java.lang.String name)
getResourceAsStream
in class java.lang.ClassLoader
name
- The name of the resource to locate.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |