Java java.lang ClassLoader fields, constructors, methods, implement or subclass

Example usage for Java java.lang ClassLoader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.lang ClassLoader.

The text is from its open source code.

Subclass

java.lang.ClassLoader has subclasses.
Click this link to see all its subclasses.

Constructor

ClassLoader()
Creates a new class loader using the ClassLoader returned by the method #getSystemClassLoader() getSystemClassLoader() as the parent class loader.
ClassLoader(ClassLoader parent)
Creates a new class loader using the specified parent class loader for delegation.

Method

voidclearAssertionStatus()
Sets the default assertion status for this class loader to false and discards any package defaults or class assertion status settings associated with the class loader.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
ClassgetClass()
Returns the runtime class of this Object .
ClassLoadergetClassLoader(Class caller)
ClassLoadergetParent()
Returns the parent class loader for delegation.
URLgetResource(String name)
Finds the resource with the given name.
InputStreamgetResourceAsStream(String name)
Returns an input stream for reading the specified resource.
EnumerationgetResources(String name)
Finds all the resources with the given name.
ClassLoadergetSystemClassLoader()
Returns the system class loader.
URLgetSystemResource(String name)
Find a resource of the specified name from the search path used to load classes.
InputStreamgetSystemResourceAsStream(String name)
Open for reading, a resource of the specified name from the search path used to load classes.
EnumerationgetSystemResources(String name)
Finds all resources of the specified name from the search path used to load classes.
inthashCode()
Returns a hash code value for the object.
ClassloadClass(String name)
Loads the class with the specified binary name.
voidsetClassAssertionStatus(String className, boolean enabled)
Sets the desired assertion status for the named top-level class in this class loader and any nested classes contained therein.
voidsetDefaultAssertionStatus(boolean enabled)
Sets the default assertion status for this class loader.
voidsetPackageAssertionStatus(String packageName, boolean enabled)
Sets the package default assertion status for the named package.
StringtoString()
Returns a string representation of the object.