public class SWClassLoader
extends java.lang.ClassLoader
implements java.io.Closeable
Constructor and Description |
---|
SWClassLoader(java.lang.ClassLoader parent,
<any>... ar) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.util.LinkedList<<any>> |
findNodes(java.lang.String name) |
protected java.net.URL |
findResource(java.lang.String name) |
protected java.util.Enumeration<java.net.URL> |
findResources(java.lang.String name) |
java.util.Collection<<any>> |
getArchives() |
java.util.Enumeration<java.net.URL> |
getResources(java.lang.String name) |
java.net.URL |
getWebResource(java.lang.String name) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public java.util.Enumeration<java.net.URL> getResources(java.lang.String name) throws java.io.IOException
getResources
in class java.lang.ClassLoader
java.io.IOException
protected java.util.Enumeration<java.net.URL> findResources(java.lang.String name) throws java.io.IOException
findResources
in class java.lang.ClassLoader
java.io.IOException
public java.net.URL getWebResource(java.lang.String name)
public java.util.LinkedList<<any>> findNodes(java.lang.String name)
protected java.net.URL findResource(java.lang.String name)
findResource
in class java.lang.ClassLoader
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public java.util.Collection<<any>> getArchives()