Method Summary |
|
public void | close() Closes this output stream and releases any system resources
associated with the stream. |
public void | closeEntry() Writes all necessary data for this entry. |
final protected void | deflate() Writes next block of compressed data to the output stream. |
public void | finish() Finishs writing the contents and closes this as well as the
underlying stream. |
public void | flush() Flushes this output stream and forces any buffered output bytes
to be written out to the stream. |
protected byte[] | getBytes(String name) Retrieve the bytes for the given String in the encoding set for
this Stream. |
public String | getEncoding() The encoding to use for filenames and the file comment. |
public boolean | isSeekable() Is this archive writing to a seekable stream (i.e. |
public void | putNextEntry(ZipEntry ze) Begin writing next entry. |
public void | setComment(String comment) Set the file comment. |
public void | setEncoding(String encoding) The encoding to use for filenames and the file comment. |
public void | setLevel(int level) Sets the compression level for subsequent entries. |
public void | setMethod(int method) Sets the default compression method for subsequent entries. |
protected static ZipLong | toDosTime(Date time) Convert a Date object to a DOS date/time field. |
public void | write(byte[] b, int offset, int length) Writes bytes to ZIP entry. |
public void | write(int b) Writes a single byte to ZIP entry. |
protected void | writeCentralDirectoryEnd() |
protected void | writeCentralFileHeader(ZipEntry ze) |
protected void | writeDataDescriptor(ZipEntry ze) |
protected void | writeLocalFileHeader(ZipEntry ze) |
final protected void | writeOut(byte[] data) |
final protected void | writeOut(byte[] data, int offset, int length) |