public class ChildFirstURLClassLoader extends MutableURLClassLoader
Constructor and Description |
---|
ChildFirstURLClassLoader(java.net.URL[] urls,
ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
void |
addURL(java.net.URL url) |
java.net.URL |
getResource(String name) |
java.util.Enumeration<java.net.URL> |
getResources(String name) |
Class<?> |
loadClass(String name,
boolean resolve) |
getURLs
close, findResource, findResources, getResourceAsStream, newInstance, newInstance
public ChildFirstURLClassLoader(java.net.URL[] urls, ClassLoader parent)
public Class<?> loadClass(String name, boolean resolve)
loadClass
in class ClassLoader
public java.net.URL getResource(String name)
getResource
in class ClassLoader
public java.util.Enumeration<java.net.URL> getResources(String name)
getResources
in class ClassLoader
public void addURL(java.net.URL url)
addURL
in class MutableURLClassLoader