Share via


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);
[<Android.Runtime.Register(".ctor", "(Ljava/net/URL;)V", "")>]
new Java.Net.JarURLConnection : Java.Net.URL -> Java.Net.JarURLConnection

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);
new Java.Net.JarURLConnection : nativeint * Android.Runtime.JniHandleOwnership -> Java.Net.JarURLConnection

Parameters

javaReference
IntPtr

nativeint

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