public static class BytecodeLoader.Loader
extends java.net.URLClassLoader
Constructor and Description |
---|
Loader() |
Modifier and Type | Method and Description |
---|---|
void |
addParent(java.lang.ClassLoader referent)
Add given loader at the front of the list of the parent list (if not
null ). |
java.lang.Class<?> |
loadClassFromBytes(java.lang.String name,
byte[] data)
Define the named class using the class file data provided, and resolve it.
|
close, findResource, findResources, getResourceAsStream, getURLs, newInstance, newInstance
public void addParent(java.lang.ClassLoader referent)
null
).public java.lang.Class<?> loadClassFromBytes(java.lang.String name, byte[] data)
name
- fully-qualified binary name of the classdata
- a class file as a byte array