Package org.rspeer.commons
Class CachedClassLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- org.rspeer.commons.CachedClassLoader
-
public class CachedClassLoader extends ClassLoader
-
-
Constructor Summary
Constructors Constructor Description CachedClassLoader(Map<String,byte[]> classes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>
loadClass(String name)
long
writeClasses(Path archive)
-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, getDefinedPackage, getDefinedPackages, getName, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
-
-
-
-
Method Detail
-
loadClass
public Class<?> loadClass(String name) throws ClassNotFoundException
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
writeClasses
public long writeClasses(Path archive)
-
-