JarInputStream 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
JarInputStream(Stream) |
Creates a new |
JarInputStream(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
JarInputStream(Stream, Boolean) |
Creates a new |
JarInputStream(Stream)
Creates a new JarInputStream
and reads the optional
manifest.
[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")]
public JarInputStream (System.IO.Stream? in);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")>]
new Java.Util.Jar.JarInputStream : System.IO.Stream -> Java.Util.Jar.JarInputStream
Parameters
- in
- Stream
the actual input stream
- Attributes
Exceptions
If an error occurs reading entries from the input stream.
Remarks
Creates a new JarInputStream
and reads the optional manifest. If a manifest is present, also attempts to verify the signatures if the JarInputStream is signed.
Java documentation for java.util.jar.JarInputStream.JarInputStream(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.
See also
- <xref:Java.Util.Zip.ZipInputStream(System.IO.Stream)>
Applies to
JarInputStream(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected JarInputStream (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Jar.JarInputStream : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Jar.JarInputStream
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
JarInputStream(Stream, Boolean)
Creates a new JarInputStream
and reads the optional
manifest.
[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Z)V", "")]
public JarInputStream (System.IO.Stream? in, bool verify);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Z)V", "")>]
new Java.Util.Jar.JarInputStream : System.IO.Stream * bool -> Java.Util.Jar.JarInputStream
Parameters
- in
- Stream
the actual input stream
- verify
- Boolean
whether or not to verify the JarInputStream if it is signed.
- Attributes
Exceptions
If an error occurs reading entries from the input stream.
Remarks
Creates a new JarInputStream
and reads the optional manifest. If a manifest is present and verify is true, also attempts to verify the signatures if the JarInputStream is signed.
Java documentation for java.util.jar.JarInputStream.JarInputStream(java.io.InputStream, boolean)
.
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.
See also
- <xref:Java.Util.Zip.ZipInputStream(System.IO.Stream)>