public class SquidClassLoader extends ClassLoader implements Closeable
| Constructor and Description |
|---|
SquidClassLoader(List<File> files) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this class loader, so that it can no longer be used to load new classes or resources.
|
protected Class |
findClass(String name) |
URL |
findResource(String name) |
protected Enumeration<URL> |
findResources(String name) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersprotected Class findClass(String name) throws ClassNotFoundException
findClass in class ClassLoaderClassNotFoundExceptionpublic URL findResource(String name)
findResource in class ClassLoaderprotected Enumeration<URL> findResources(String name) throws IOException
findResources in class ClassLoaderIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2012–2017 SonarSource. All rights reserved.