public class AppletClassLoader extends URLClassLoader
Constructor and Description |
---|
AppletClassLoader()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addArchiveToClassPath(URL jarUrl)
Adds the jar file to the classpath for the applet.
|
void |
addClassToClassPath(String className,
WebResponse webResponse)
Adds the class defined by the WebResponse to the classpath for the applet.
|
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
defineClass, defineClass
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public void addArchiveToClassPath(URL jarUrl)
jarUrl
- the url of the jar filepublic void addClassToClassPath(String className, WebResponse webResponse) throws IOException
className
- the name of the class to loadwebResponse
- the web responseIOException
- in case of problem working with the response contentCopyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.