public class BinaryClassLoader extends ClassLoader implements MultipleClassLoader
Constructor and Description |
---|
BinaryClassLoader(byte[] buf) |
BinaryClassLoader(byte[] buf,
ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
findClass(String className)
Find class
|
String |
getMainClassName()
Get main class name
|
InputStream |
getResourceAsStream(String name)
Get resource input stream
|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public BinaryClassLoader(byte[] buf) throws IOException
IOException
public BinaryClassLoader(byte[] buf, ClassLoader parent) throws IOException
IOException
public String getMainClassName() throws IOException
getMainClassName
in interface MultipleClassLoader
IOException
public Class<?> findClass(String className)
findClass
in class ClassLoader
public InputStream getResourceAsStream(String name)
getResourceAsStream
in class ClassLoader
Copyright © 2015. All Rights Reserved.