public class LocalURLClassLoader extends URLClassLoader implements LocalClassLoader
Constructor and Description |
---|
LocalURLClassLoader(ClassLoader parent) |
LocalURLClassLoader(URL[] urls,
ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
void |
addURL(URL url) |
URL |
getLocalResource(String name) |
InputStream |
getLocalResourceAsStream(String name) |
Enumeration<URL> |
getLocalResources(String name) |
Class<?> |
loadLocalClass(String name,
boolean resolve) |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadClass
public LocalURLClassLoader(ClassLoader parent)
public LocalURLClassLoader(URL[] urls, ClassLoader parent)
public void addURL(URL url)
addURL
in interface LocalClassLoader
addURL
in class URLClassLoader
public Class<?> loadLocalClass(String name, boolean resolve) throws ClassNotFoundException
loadLocalClass
in interface LocalClassLoader
ClassNotFoundException
public URL getLocalResource(String name)
getLocalResource
in interface LocalClassLoader
public Enumeration<URL> getLocalResources(String name) throws IOException
getLocalResources
in interface LocalClassLoader
IOException
public InputStream getLocalResourceAsStream(String name) throws IOException
getLocalResourceAsStream
in interface LocalClassLoader
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.