JarURLConnection Constructors

Definition

Overloads

JarURLConnection(URL)

Creates the new JarURLConnection to the specified URL.

JarURLConnection(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

JarURLConnection(URL)

Creates the new JarURLConnection to the specified URL.

[Android.Runtime.Register(".ctor", "(Ljava/net/URL;)V", "")]
protected JarURLConnection (Java.Net.URL? url);

Parameters

url
URL

the URL

Attributes

Exceptions

if an invalid URL has been entered.

Remarks

Creates the new JarURLConnection to the specified URL.

Java documentation for java.net.JarURLConnection.JarURLConnection(java.net.URL).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

JarURLConnection(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected JarURLConnection (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);

Parameters

javaReference
IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to