Package org.smooks.classpath
Class CascadingClassLoaderSet
- java.lang.Object
-
- java.lang.ClassLoader
-
- org.smooks.classpath.CascadingClassLoaderSet
-
public class CascadingClassLoaderSet extends ClassLoader
CascadingClassLoader
set.- Author:
- tom.fennelly@gmail.com
-
-
Constructor Summary
Constructors Constructor Description CascadingClassLoaderSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CascadingClassLoaderSet
addClassLoader(ClassLoader classLoader)
URL
getResource(String s)
InputStream
getResourceAsStream(String s)
Enumeration<URL>
getResources(String s)
Class<?>
loadClass(String s)
-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
-
-
-
Method Detail
-
addClassLoader
public CascadingClassLoaderSet addClassLoader(ClassLoader classLoader)
-
loadClass
public Class<?> loadClass(String s) throws ClassNotFoundException
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
getResource
public URL getResource(String s)
- Overrides:
getResource
in classClassLoader
-
getResources
public Enumeration<URL> getResources(String s) throws IOException
- Overrides:
getResources
in classClassLoader
- Throws:
IOException
-
getResourceAsStream
public InputStream getResourceAsStream(String s)
- Overrides:
getResourceAsStream
in classClassLoader
-
-