Sdílet prostřednictvím


ZipEntry Constructors

Definition

Overloads

ZipEntry(ZipEntry)

Creates a new zip entry with fields taken from the specified zip entry.

ZipEntry(String)

Creates a new zip entry with the specified name.

ZipEntry(IntPtr, JniHandleOwnership)

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

ZipEntry(ZipEntry)

Creates a new zip entry with fields taken from the specified zip entry.

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

Parameters

e
ZipEntry

A zip Entry object

Attributes

Remarks

Creates a new zip entry with fields taken from the specified zip entry.

Java documentation for java.util.zip.ZipEntry.ZipEntry(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

ZipEntry(String)

Creates a new zip entry with the specified name.

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

Parameters

name
String

The entry name

Attributes

Exceptions

if the name length is outside the range (> 0xFFFF).

Remarks

Creates a new zip entry with the specified name.

Java documentation for java.util.zip.ZipEntry.ZipEntry(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

ZipEntry(IntPtr, JniHandleOwnership)

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

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

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