JarOutputStream 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
JarOutputStream(Stream) |
Creates a new |
JarOutputStream(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
JarOutputStream(Stream, Manifest) |
Creates a new |
JarOutputStream(Stream)
Creates a new JarOutputStream
with no manifest.
[Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;)V", "")]
public JarOutputStream (System.IO.Stream? out);
[<Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;)V", "")>]
new Java.Util.Jar.JarOutputStream : System.IO.Stream -> Java.Util.Jar.JarOutputStream
Parameters
- out
- Stream
the actual output stream
- Attributes
Exceptions
if an error occurs creating the JarOutputStream
.
Remarks
Creates a new JarOutputStream
with no manifest.
Java documentation for java.util.jar.JarOutputStream.JarOutputStream(java.io.OutputStream)
.
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
JarOutputStream(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected JarOutputStream (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Jar.JarOutputStream : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Jar.JarOutputStream
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
JarOutputStream(Stream, Manifest)
Creates a new JarOutputStream
with the specified
Manifest
.
[Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;Ljava/util/jar/Manifest;)V", "")]
public JarOutputStream (System.IO.Stream? out, Java.Util.Jar.Manifest? man);
[<Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;Ljava/util/jar/Manifest;)V", "")>]
new Java.Util.Jar.JarOutputStream : System.IO.Stream * Java.Util.Jar.Manifest -> Java.Util.Jar.JarOutputStream
Parameters
- out
- Stream
the actual output stream
- man
- Manifest
the optional Manifest
- Attributes
Exceptions
if an error occurs creating the JarOutputStream
.
Remarks
Creates a new JarOutputStream
with the specified Manifest
. The manifest is written as the first entry to the output stream.
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.