ZipInputStream Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.
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.