Share via


JarEntry Constructors

Definition

Overloads

JarEntry(JarEntry)

Creates a new JarEntry with fields taken from the specified JarEntry object.

JarEntry(ZipEntry)

Creates a new JarEntry with fields taken from the specified ZipEntry object.

JarEntry(String)

Creates a new JarEntry for the specified JAR file entry name.

JarEntry(IntPtr, JniHandleOwnership)

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

JarEntry(JarEntry)

Creates a new JarEntry with fields taken from the specified JarEntry object.

[Android.Runtime.Register(".ctor", "(Ljava/util/jar/JarEntry;)V", "")]
public JarEntry (Java.Util.Jar.JarEntry? je);
[<Android.Runtime.Register(".ctor", "(Ljava/util/jar/JarEntry;)V", "")>]
new Java.Util.Jar.JarEntry : Java.Util.Jar.JarEntry -> Java.Util.Jar.JarEntry

Parameters

je
JarEntry

the JarEntry to copy

Attributes

Remarks

Creates a new JarEntry with fields taken from the specified JarEntry object.

Java documentation for java.util.jar.JarEntry.JarEntry(java.util.jar.JarEntry).

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

JarEntry(ZipEntry)

Creates a new JarEntry with fields taken from the specified ZipEntry object.

[Android.Runtime.Register(".ctor", "(Ljava/util/zip/ZipEntry;)V", "")]
public JarEntry (Java.Util.Zip.ZipEntry? ze);
[<Android.Runtime.Register(".ctor", "(Ljava/util/zip/ZipEntry;)V", "")>]
new Java.Util.Jar.JarEntry : Java.Util.Zip.ZipEntry -> Java.Util.Jar.JarEntry

Parameters

ze
ZipEntry

the ZipEntry object to create the JarEntry from

Attributes

Remarks

Creates a new JarEntry with fields taken from the specified ZipEntry object.

Java documentation for java.util.jar.JarEntry.JarEntry(java.util.zip.ZipEntry).

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

JarEntry(String)

Creates a new JarEntry for the specified JAR file entry name.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public JarEntry (string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Util.Jar.JarEntry : string -> Java.Util.Jar.JarEntry

Parameters

name
String

the JAR file entry name

Attributes

Remarks

Creates a new JarEntry for the specified JAR file entry name.

Java documentation for java.util.jar.JarEntry.JarEntry(java.lang.String).

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

JarEntry(IntPtr, JniHandleOwnership)

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

protected JarEntry (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Jar.JarEntry : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Jar.JarEntry

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