public class MarvinJarLoader
extends java.lang.ClassLoader
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
findClass(java.lang.String name)
Find a class specified as parameter.
|
java.lang.Class<?> |
getClass(java.lang.String name)
Get a Class object from a class inside the Jar file by its name.
|
byte[] |
getEntryBytes(java.util.jar.JarEntry entry) |
java.lang.Object |
getObject(java.lang.String className) |
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
public java.lang.Object getObject(java.lang.String className)
public java.lang.Class<?> getClass(java.lang.String name)
name
- class name.public byte[] getEntryBytes(java.util.jar.JarEntry entry)
entry
- JarEntry to be read.public java.lang.Class<?> findClass(java.lang.String name)
findClass
in class java.lang.ClassLoader
name
- class name