com.gargoylesoftware.htmlunit.html.applets
Class AppletClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
com.gargoylesoftware.htmlunit.html.applets.AppletClassLoader
public class AppletClassLoader
- extends URLClassLoader
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Class loader for loading applets.
- Version:
- $Revision: 6719 $
- Author:
- Marc Guillemot, Ronald Brill
| Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppletClassLoader
public AppletClassLoader()
- The constructor.
addArchiveToClassPath
public void addArchiveToClassPath(URL jarUrl)
- Adds the jar file to the classpath for the applet.
- Parameters:
jarUrl - the url of the jar file
addClassToClassPath
public void addClassToClassPath(String className,
WebResponse webResponse)
throws IOException
- Adds the class defined by the WebResponse to the classpath for the applet.
- Parameters:
className - the name of the class to loadwebResponse - the web response
- Throws:
IOException - in case of problem working with the response content
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.