public class ByteArrayClassLoader extends ClassLoader
| Modifier and Type | Method and Description |
|---|---|
protected Class |
findClass(String name) |
Class |
loadClass(String fqdn,
byte[] byteCode)
Returns a Class object using the class name and its bytecode.
|
static ByteArrayClassLoader |
newInstance() |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic Class loadClass(String fqdn, byte[] byteCode) throws ClassNotFoundException
fqdn - Fully qualified class namebyteCode - BytecodeClassNotFoundException - Thrown when class not foundprotected Class findClass(String name) throws ClassNotFoundException
findClass in class ClassLoaderClassNotFoundExceptionpublic static ByteArrayClassLoader newInstance()
Copyright © 2016. All rights reserved.