Example usage for Java org.apache.commons.compress.archivers.jar JarArchiveOutputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes this output stream and releases any system resources associated with the stream. |
void | closeArchiveEntry() Writes all necessary data for this entry. |
void | finish() |
void | flush() Flushes this output stream and forces any buffered output bytes to be written out to the stream. |
void | putArchiveEntry(ArchiveEntry ze) |
void | setComment(String comment) Set the file comment. |
void | setCreateUnicodeExtraFields(UnicodeExtraFieldPolicy b) Whether to create Unicode Extra Fields. |
void | setEncoding(final String encoding) The encoding to use for filenames and the file comment. |
void | setFallbackToUTF8(boolean b) Whether to fall back to UTF and the language encoding flag if the file name cannot be encoded using the specified encoding. |
void | setLevel(int level) Sets the compression level for subsequent entries. |
void | setUseLanguageEncodingFlag(boolean b) Whether to set the language encoding flag if the file name encoding is UTF-8. |
void | write(int b) Writes a byte to the current archive entry. |
void | write(byte[] b, int offset, int length) Writes bytes to ZIP entry. |