Table of Contents

Class URLClassLoader

Namespace
Java.Net
Assembly
MASES.JNet.dll
public class URLClassLoader : SecureClassLoader, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<ClassLoader>
URLClassLoader
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<ClassLoader>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ClassLoader>.IsAssignableFrom<T>()
JVMBridgeBase<ClassLoader>.Execute<T>(params T[])
JVMBridgeBase<ClassLoader>.DynBridgeClazz
JVMBridgeBase<ClassLoader>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

URLClassLoader()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public URLClassLoader()

URLClassLoader(String, URL[], ClassLoader)

public URLClassLoader(String arg0, URL[] arg1, ClassLoader arg2)

Parameters

arg0 String

String

arg1 URL[]

URL

arg2 ClassLoader

ClassLoader

URLClassLoader(String, URL[], ClassLoader, URLStreamHandlerFactory)

public URLClassLoader(String arg0, URL[] arg1, ClassLoader arg2, URLStreamHandlerFactory arg3)

Parameters

arg0 String

String

arg1 URL[]

URL

arg2 ClassLoader

ClassLoader

arg3 URLStreamHandlerFactory

URLStreamHandlerFactory

URLClassLoader(URL[])

public URLClassLoader(URL[] arg0)

Parameters

arg0 URL[]

URL

URLClassLoader(URL[], ClassLoader)

public URLClassLoader(URL[] arg0, ClassLoader arg1)

Parameters

arg0 URL[]

URL

arg1 ClassLoader

ClassLoader

URLClassLoader(URL[], ClassLoader, URLStreamHandlerFactory)

public URLClassLoader(URL[] arg0, ClassLoader arg1, URLStreamHandlerFactory arg2)

Parameters

arg0 URL[]

URL

arg1 ClassLoader

ClassLoader

arg2 URLStreamHandlerFactory

URLStreamHandlerFactory

URLClassLoader(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public URLClassLoader(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

URLs

public URL[] URLs { get; }

Property Value

URL[]

Methods

Close()

public void Close()

Exceptions

IOException

FindResource(String)

public URL FindResource(String arg0)

Parameters

arg0 String

String

Returns

URL

URL

FindResources(String)

public Enumeration<URL> FindResources(String arg0)

Parameters

arg0 String

String

Returns

Enumeration<URL>

Enumeration

Exceptions

IOException

NewInstance(URL[])

public static URLClassLoader NewInstance(URL[] arg0)

Parameters

arg0 URL[]

URL

Returns

URLClassLoader

URLClassLoader

NewInstance(URL[], ClassLoader)

public static URLClassLoader NewInstance(URL[] arg0, ClassLoader arg1)

Parameters

arg0 URL[]

URL

arg1 ClassLoader

ClassLoader

Returns

URLClassLoader

URLClassLoader

Operators

implicit operator Closeable(URLClassLoader)

Converter from URLClassLoader to Closeable

public static implicit operator Closeable(URLClassLoader t)

Parameters

t URLClassLoader

Returns

Closeable