Table of Contents

Class URL

Namespace
Java.Net
Assembly
MASES.JNet.dll
public class URL : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
URL
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.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

URL()

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

public URL()

URL(String)

public URL(String arg0)

Parameters

arg0 String

String

Exceptions

MalformedURLException

URL(String, String, String)

public URL(String arg0, String arg1, String arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 String

String

Exceptions

MalformedURLException

URL(String, String, int, String)

public URL(String arg0, String arg1, int arg2, String arg3)

Parameters

arg0 String

String

arg1 String

String

arg2 int

int

arg3 String

String

Exceptions

MalformedURLException

URL(String, String, int, String, URLStreamHandler)

public URL(String arg0, String arg1, int arg2, String arg3, URLStreamHandler arg4)

Parameters

arg0 String

String

arg1 String

String

arg2 int

int

arg3 String

String

arg4 URLStreamHandler

URLStreamHandler

Exceptions

MalformedURLException

URL(URL, String)

public URL(URL arg0, String arg1)

Parameters

arg0 URL

URL

arg1 String

String

Exceptions

MalformedURLException

URL(URL, String, URLStreamHandler)

public URL(URL arg0, String arg1, URLStreamHandler arg2)

Parameters

arg0 URL

URL

arg1 String

String

arg2 URLStreamHandler

URLStreamHandler

Exceptions

MalformedURLException

URL(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 URL(params object[] args)

Parameters

args object[]

Properties

Authority

public String Authority { get; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Content

public object Content { get; }

Property Value

object

DefaultPort

public int DefaultPort { get; }

Property Value

int

File

public String File { get; }

Property Value

String

Host

public String Host { 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

Path

public String Path { get; }

Property Value

String

Port

public int Port { get; }

Property Value

int

Protocol

public String Protocol { get; }

Property Value

String

Query

public String Query { get; }

Property Value

String

Ref

public String Ref { get; }

Property Value

String

UserInfo

public String UserInfo { get; }

Property Value

String

Methods

GetContent(Class[])

public object GetContent(Class[] arg0)

Parameters

arg0 Class[]

Class

Returns

object

object

Exceptions

IOException

OpenConnection()

public URLConnection OpenConnection()

Returns

URLConnection

URLConnection

Exceptions

IOException

OpenConnection(Proxy)

public URLConnection OpenConnection(Proxy arg0)

Parameters

arg0 Proxy

Proxy

Returns

URLConnection

URLConnection

Exceptions

IOException

OpenStream()

public InputStream OpenStream()

Returns

InputStream

InputStream

Exceptions

IOException

SameFile(URL)

public bool SameFile(URL arg0)

Parameters

arg0 URL

URL

Returns

bool

bool

SetURLStreamHandlerFactory(URLStreamHandlerFactory)

public static void SetURLStreamHandlerFactory(URLStreamHandlerFactory arg0)

Parameters

arg0 URLStreamHandlerFactory

URLStreamHandlerFactory

ToExternalForm()

public String ToExternalForm()

Returns

String

String

ToURI()

public URI ToURI()

Returns

URI

URI

Exceptions

URISyntaxException