Example usage for Java java.util.jar JarOutputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
JarOutputStream(OutputStream out) Creates a new JarOutputStream with no manifest. | |
JarOutputStream(OutputStream out, Manifest man) Creates a new JarOutputStream with the specified Manifest . |
void | close() Closes the ZIP output stream as well as the stream being filtered. |
void | closeEntry() Closes the current ZIP entry and positions the stream for writing the next entry. |
void | finish() Finishes writing the contents of the ZIP output stream without closing the underlying stream. |
void | flush() Flushes the compressed output stream. |
void | putNextEntry(ZipEntry ze) Begins writing a new JAR file entry and positions the stream to the start of the entry data. |
void | setLevel(int level) Sets the compression level for subsequent entries which are DEFLATED. |
void | setMethod(int method) Sets the default compression method for subsequent entries. |
void | write(byte[] b, int off, int len) Writes an array of bytes to the current ZIP entry data. |
void | write(int b) Writes a byte to the compressed output stream. |