java.lang

Class ClassLoader

public abstract class ClassLoader extends Object

Constructor Summary
protected ClassLoader(ClassLoader parent)
protected ClassLoader()
Method Summary
voidclearAssertionStatus()
protected ClassdefineClass(byte[] b, int off, int len)
protected ClassdefineClass(String name, byte[] b, int off, int len)
protected ClassdefineClass(String name, byte[] b, int off, int len, ProtectionDomain protectionDomain)
protected PackagedefinePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase)
protected ClassfindClass(String name)
protected StringfindLibrary(String libname)
protected ClassfindLoadedClass(String name)
protected URLfindResource(String name)
protected EnumerationfindResources(String name)
protected ClassfindSystemClass(String name)
protected PackagegetPackage(String name)
protected Package[]getPackages()
ClassLoadergetParent()
URLgetResource(String name)
InputStreamgetResourceAsStream(String name)
EnumerationgetResources(String name)
static ClassLoadergetSystemClassLoader()
static URLgetSystemResource(String name)
static InputStreamgetSystemResourceAsStream(String name)
static EnumerationgetSystemResources(String name)
ClassloadClass(String name)
protected ClassloadClass(String name, boolean resolve)
protected voidresolveClass(Class c)
voidsetClassAssertionStatus(String className, boolean enabled)
voidsetDefaultAssertionStatus(boolean enabled)
voidsetPackageAssertionStatus(String packageName, boolean enabled)
protected voidsetSigners(Class c, Object[] signers)

Constructor Detail

ClassLoader

protected ClassLoader(ClassLoader parent)

ClassLoader

protected ClassLoader()

Method Detail

clearAssertionStatus

public void clearAssertionStatus()

defineClass

protected final Class defineClass(byte[] b, int off, int len)

defineClass

protected final Class defineClass(String name, byte[] b, int off, int len)

defineClass

protected final Class defineClass(String name, byte[] b, int off, int len, ProtectionDomain protectionDomain)

definePackage

protected Package definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase)

findClass

protected Class findClass(String name)

findLibrary

protected String findLibrary(String libname)

findLoadedClass

protected final Class findLoadedClass(String name)

findResource

protected URL findResource(String name)

findResources

protected Enumeration findResources(String name)

findSystemClass

protected final Class findSystemClass(String name)

getPackage

protected Package getPackage(String name)

getPackages

protected Package[] getPackages()

getParent

public final ClassLoader getParent()

getResource

public URL getResource(String name)

getResourceAsStream

public InputStream getResourceAsStream(String name)

getResources

public final Enumeration getResources(String name)

getSystemClassLoader

public static ClassLoader getSystemClassLoader()

getSystemResource

public static URL getSystemResource(String name)

getSystemResourceAsStream

public static InputStream getSystemResourceAsStream(String name)

getSystemResources

public static Enumeration getSystemResources(String name)

loadClass

public Class loadClass(String name)

loadClass

protected Class loadClass(String name, boolean resolve)

resolveClass

protected final void resolveClass(Class c)

setClassAssertionStatus

public void setClassAssertionStatus(String className, boolean enabled)

setDefaultAssertionStatus

public void setDefaultAssertionStatus(boolean enabled)

setPackageAssertionStatus

public void setPackageAssertionStatus(String packageName, boolean enabled)

setSigners

protected final void setSigners(Class c, Object[] signers)