com.ptc.wgmecad.client
Class HTTPClassLoader
java.lang.Object
java.lang.ClassLoader
com.ptc.wgmecad.client.HTTPClassLoader
- All Implemented Interfaces:
- DebugOptions
- public class HTTPClassLoader
- extends ClassLoader
- implements DebugOptions
Nested classes inherited from class java.lang.ClassLoader |
|
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
baseURL
private final String baseURL
cache
private Hashtable cache
HTTPClassLoader
public HTTPClassLoader(String baseURL)
loadClass
public Class loadClass(String name,
boolean resolve)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getResourceAsStream
public InputStream getResourceAsStream(String name)
loadClassData
private byte[] loadClassData(String name)
throws IOException
- Throws:
IOException