public class TempClassLoader
extends java.net.URLClassLoader
Class.forName(name, resolve, getClass().getClassLoader())
Modifier and Type | Class and Description |
---|---|
static class |
TempClassLoader.IsAnnotationVisitor |
static class |
TempClassLoader.IsEnumVisitor |
static class |
TempClassLoader.Skip |
Constructor and Description |
---|
TempClassLoader(java.lang.ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
java.net.URL |
getInternalResource(java.lang.String name) |
java.net.URL |
getResource(java.lang.String name) |
java.util.Enumeration<java.net.URL> |
getResources(java.lang.String name) |
java.lang.Class |
loadClass(java.lang.String name) |
protected java.lang.Class |
loadClass(java.lang.String name,
boolean resolve) |
void |
skip(TempClassLoader.Skip s) |
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public void skip(TempClassLoader.Skip s)
public java.lang.Class loadClass(java.lang.String name) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
public java.net.URL getResource(java.lang.String name)
getResource
in class java.lang.ClassLoader
public java.net.URL getInternalResource(java.lang.String name)
public java.util.Enumeration<java.net.URL> getResources(java.lang.String name) throws java.io.IOException
getResources
in class java.lang.ClassLoader
java.io.IOException
protected java.lang.Class loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException