Java.Lang.ClassLoader Members

The members of Java.Lang.ClassLoader are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

Constructs a new instance of this class with the system class loader as its parent.
Constructs a new instance of this class with the specified class loader as its parent.
A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
ParentClassLoader. Returns this class loader's parent.
[read-only]
static
SystemClassLoaderClassLoader. Returns the system class loader.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

ClearAssertionStatus()
Sets the default assertion status for this class loader to false and removes any package default and class assertion status settings.
GetResource(string) : Java.Net.URL
Returns the URL of the resource with the specified name.
GetResourceAsStream(string) : System.IO.Stream
Returns a stream for the resource with the specified name.
GetResources(string) : Java.Util.IEnumeration
Returns an enumeration of URLs for the resource with the specified name.
static
GetSystemResource(string) : Java.Net.URL
Finds the URL of the resource with the specified name.
static
GetSystemResourceAsStream(string) : System.IO.Stream
Returns a stream for the resource with the specified name.
static
GetSystemResources(string) : Java.Util.IEnumeration
Returns an enumeration of URLs for the resource with the specified name.
LoadClass(string) : Class
Loads the class with the specified name.
LoadClassAsync(string) : System.Threading.Tasks.Task<Class>
Documentation for this section has not yet been entered.
SetClassAssertionStatus(string, bool)
Sets the assertion status of the class with the specified name.
SetDefaultAssertionStatus(bool)
Sets the default assertion status for this class loader.
SetPackageAssertionStatus(string, bool)
Sets the assertion status of the package with the specified name.

Protected Methods

DefineClass(byte[], int, int) : Class
Constructs a new class from an array of bytes containing a class definition in class file format.
DefineClass(string, Java.Nio.ByteBuffer, Java.Security.ProtectionDomain) : Class
Defines a new class with the specified name, byte code from the byte buffer and the optional protection domain.
DefineClass(string, byte[], int, int) : Class
Constructs a new class from an array of bytes containing a class definition in class file format.
DefineClass(string, byte[], int, int, Java.Security.ProtectionDomain) : Class
Constructs a new class from an array of bytes containing a class definition in class file format and assigns the specified protection domain to the new class.
DefinePackage(string, string, string, string, string, string, string, Java.Net.URL) : Package
Defines and returns a new Package using the specified information.
FindClass(string) : Class
Overridden by subclasses, throws a ClassNotFoundException by default.
FindLibrary(string) : string
Returns the absolute path of the native library with the specified name, or null.
FindLoadedClass(string) : Class
Returns the class with the specified name if it has already been loaded by the VM or null if it has not yet been loaded.
FindResource(string) : Java.Net.URL
Finds the URL of the resource with the specified name.
FindResources(string) : Java.Util.IEnumeration
Finds an enumeration of URLs for the resource with the specified name.
FindSystemClass(string) : Class
Finds the class with the specified name, loading it using the system class loader if necessary.
GetClassLoadingLock(string) : Object
Documentation for this section has not yet been entered.
GetPackage(string) : Package
Returns the package with the specified name.
GetPackages() : Package[]
Returns all the packages known to this class loader.
LoadClass(string, bool) : Class
Loads the class with the specified name, optionally linking it after loading.
LoadClassAsync(string, bool) : System.Threading.Tasks.Task<Class>
Documentation for this section has not yet been entered.
static
RegisterAsParallelCapable() : bool
Documentation for this section has not yet been entered.
ResolveClass(Class)
Documentation for this section has not yet been entered.
SetSigners(Class, Object[])
Documentation for this section has not yet been entered.