| java.util.zip.ZipOutputStream java.util.jar.JarOutputStream
JarOutputStream | public class JarOutputStream extends ZipOutputStream (Code) | | The JarOutputStream is used to output data in JarFile format.
|
Method Summary | |
public void | putNextEntry(ZipEntry ze) Writes the specified entry to the underlying stream. |
JarOutputStream | public JarOutputStream(OutputStream os, Manifest mf) throws IOException(Code) | | Constructs a new JarOutputStream using os as the underlying stream.
Manifest information for the JarFile to be written is obtained from the
parameter Manifest, mf.
Parameters: os - The OutputStream to write to Parameters: mf - The Manifest to output for this Jar. exception: IOException - If an error occurs creating the JarOutputStream |
JarOutputStream | public JarOutputStream(OutputStream os) throws IOException(Code) | | Constructs a new JarOutputStream using os as the underlying stream.
Parameters: os - The OutputStream to write to exception: IOException - If an error occurs creating the JarOutputStream |
putNextEntry | public void putNextEntry(ZipEntry ze) throws IOException(Code) | | Writes the specified entry to the underlying stream. The previous entry
is closed if it is still open.
Parameters: ze - The ZipEntry to write exception: IOException - If an error occurs writing the entry |
|
|