All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.io.OutputStream | +----java.io.FilterOutputStream | +----java.util.zip.DeflaterOutputStream | +----java.util.zip.ZipOutputStream | +----java.util.jar.JarOutputStream
JarOutputStream
class is used to write the contents
of a JAR file to any output stream. It extends the class
java.util.zip.ZipOutputStream
with support
for writing an optional Manifest
entry. The
Manifest
can be used to specify meta-information about
the JAR file and its entries.
JarOutputStream
with default manifest.
JarOutputStream
with the specified
Manifest
.
public static final byte[] EDATA_JAX
Main-Class
manifest header is defined.
public JarOutputStream(OutputStream out, Manifest man) throws IOException
JarOutputStream
with the specified
Manifest
. The manifest is written as the first
entry to the output stream.
Manifest
public JarOutputStream(OutputStream out) throws IOException
JarOutputStream
with default manifest.
All Packages Class Hierarchy This Package Previous Next Index