java.lang.Object | |||||
↳ | java.io.OutputStream | ||||
↳ | java.io.FilterOutputStream | ||||
↳ | java.util.zip.DeflaterOutputStream | ||||
↳ | java.util.zip.ZipOutputStream | ||||
↳ | java.util.jar.JarOutputStream |
The
JarOutputStream
is used to write data in the
JarFile
format to an arbitrary output stream
[Expand]
Inherited Constants
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.zip.ZipOutputStream
|
[Expand]
Inherited Fields
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.zip.DeflaterOutputStream
|
|||||||||||
From class
java.io.FilterOutputStream
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Constructs a new
JarOutputStream
using an output stream.
|
||||||||||
|
Constructs a new
JarOutputStream
using an arbitrary output
stream.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Writes the specified ZIP entry to the underlying stream.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.zip.ZipOutputStream
|
|||||||||||
From class
java.util.zip.DeflaterOutputStream
|
|||||||||||
From class
java.io.FilterOutputStream
|
|||||||||||
From class
java.io.OutputStream
|
|||||||||||
From class
java.lang.Object
|
|||||||||||
From interface
java.io.Closeable
|
|||||||||||
From interface
java.io.Flushable
|
|||||||||||
From interface
java.lang.AutoCloseable
|
Constructs a new
JarOutputStream
using an output stream. The
content of the
Manifest
must match the JAR entry information
written subsequently to the stream.
os |
the
OutputStream
to write to
|
---|---|
manifest |
the
Manifest
to output for this JAR file.
|
IOException |
if an error occurs creating the
JarOutputStream
.
|
---|
Constructs a new
JarOutputStream
using an arbitrary output
stream.
os |
the
OutputStream
to write to.
|
---|
IOException |
if an error occurs creating the
JarOutputStream
.
|
---|
Writes the specified ZIP entry to the underlying stream. The previous entry is closed if it is still open.
ze |
the
ZipEntry
to write to.
|
---|
IOException | if an error occurs writing to the entry. |
---|