public class AppletClassLoader extends ClassLoader
Constructor and Description |
---|
AppletClassLoader()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addToClassPath(WebResponse webResponse)
Adds the content of specified WebResponse to the classpath for the applet.
|
Class<?> |
loadClass(String name) |
static String |
readClassName(byte[] bytes)
Reads the class name from the bytes of a .class file.
|
static String |
readClassName(WebResponse webResponse)
Reads the class name from the bytes of a .class file.
|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public Class<?> loadClass(String name) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
public void addToClassPath(WebResponse webResponse) throws IOException
webResponse
- the web responseIOException
- in case of problem working with the response contentpublic static String readClassName(WebResponse webResponse)
webResponse
- response containing the bytes the classpublic static String readClassName(byte[] bytes)
bytes
- the class bytesCopyright © 2002-2013 Gargoyle Software Inc.. All Rights Reserved.