Sdílet prostřednictvím


ZipInputStream Constructors

Definition

Overloads

ZipInputStream(Stream)

Creates a new ZIP input stream.

ZipInputStream(IntPtr, JniHandleOwnership)

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

ZipInputStream(Stream, Charset)

Creates a new ZIP input stream.

ZipInputStream(Stream)

Creates a new ZIP input stream.

[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")]
public ZipInputStream (System.IO.Stream? in);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")>]
new Java.Util.Zip.ZipInputStream : System.IO.Stream -> Java.Util.Zip.ZipInputStream

Parameters

in
Stream

the actual input stream

Attributes

Remarks

Creates a new ZIP input stream.

The UTF-8 java.nio.charset.Charset charset is used to decode the entry names.

Java documentation for java.util.zip.ZipInputStream.ZipInputStream(java.io.InputStream).

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

ZipInputStream(IntPtr, JniHandleOwnership)

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

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

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

ZipInputStream(Stream, Charset)

Creates a new ZIP input stream.

[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V", "", ApiSince=24)]
public ZipInputStream (System.IO.Stream? in, Java.Nio.Charset.Charset? charset);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V", "", ApiSince=24)>]
new Java.Util.Zip.ZipInputStream : System.IO.Stream * Java.Nio.Charset.Charset -> Java.Util.Zip.ZipInputStream

Parameters

in
Stream

the actual input stream

charset
Charset

The java.nio.charset.Charset charset to be used to decode the ZIP entry name (ignored if the language encoding bit of the ZIP entry's general purpose bit flag is set).

Attributes

Remarks

Creates a new ZIP input stream.

Added in 1.7.

Java documentation for java.util.zip.ZipInputStream.ZipInputStream(java.io.InputStream, java.nio.charset.Charset).

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