public class ResourceStoreClassLoader extends ClassLoader implements Cloneable
Constructor and Description |
---|
ResourceStoreClassLoader(ClassLoader pParent) |
Modifier and Type | Method and Description |
---|---|
boolean |
addStore(ResourceStore store) |
ResourceStoreClassLoader |
clone() |
static String |
convertClassToResourcePath(String pName)
org.my.Class -> org/my/Class.class
|
URL |
getResource(String name) |
Enumeration<URL> |
getResources(String name) |
ResourceStore[] |
getStores() |
Class<?> |
loadClass(String name,
boolean resolve) |
boolean |
removeStore(ResourceStore store) |
clearAssertionStatus, getParent, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
public ResourceStoreClassLoader(ClassLoader pParent)
public boolean addStore(ResourceStore store)
public boolean removeStore(ResourceStore store)
public ResourceStoreClassLoader clone()
public ResourceStore[] getStores()
public Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
public Enumeration<URL> getResources(String name) throws IOException
getResources
in class ClassLoader
IOException
public URL getResource(String name)
getResource
in class ClassLoader
Copyright © 2013 Nuxeo SA. All Rights Reserved.