|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader gnu.bytecode.ArrayClassLoader
public class ArrayClassLoader
Load classes from a set of byte arrays.
Constructor Summary | |
---|---|
ArrayClassLoader()
|
|
ArrayClassLoader(byte[][] classBytes)
Load classes from the given byte arrays. |
|
ArrayClassLoader(java.lang.String[] classNames,
byte[][] classBytes)
|
Method Summary | |
---|---|
void |
addClass(java.lang.Class clas)
|
void |
addClass(ClassType ctype)
|
void |
addClass(java.lang.String name,
byte[] bytes)
|
java.lang.Class |
loadClass(java.lang.String name,
boolean resolve)
|
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, 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 |
---|
public ArrayClassLoader()
public ArrayClassLoader(byte[][] classBytes)
public ArrayClassLoader(java.lang.String[] classNames, byte[][] classBytes)
Method Detail |
---|
public void addClass(java.lang.Class clas)
public void addClass(java.lang.String name, byte[] bytes)
public void addClass(ClassType ctype) throws java.io.IOException
java.io.IOException
public java.lang.Class loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |