Package jminusminus
Class ByteClassLoader
java.lang.Object
java.lang.ClassLoader
jminusminus.ByteClassLoader
A class loader to be able to load a class from a byte stream.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionClass<?>Loads the class with the specified fully qualified name.voidsetClassBytes(byte[] bytes) Sets the bytes representing the class.Methods inherited from class java.lang.ClassLoaderclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
- 
Constructor Details- 
ByteClassLoaderByteClassLoader()
 
- 
- 
Method Details- 
setClassBytespublic void setClassBytes(byte[] bytes) Sets the bytes representing the class.- Parameters:
- bytes- bytes representing the class.
 
- 
loadClassLoads the class with the specified fully qualified name.- Overrides:
- loadClassin class- ClassLoader
- Parameters:
- name- the fully qualified name of the class.
- resolve- if true then resolve the class.
- Throws:
- ClassNotFoundException- if the class could not be found.
 
 
-