public class JarArchiveOutputStream extends ZipArchiveOutputStream
ZipArchiveOutputStream.UnicodeExtraFieldPolicydef, DEFAULT_COMPRESSION, DEFLATED, EFS_FLAG, finished, STORED| Constructor and Description |
|---|
JarArchiveOutputStream(java.io.OutputStream out) |
JarArchiveOutputStream(java.io.OutputStream out,
java.lang.String encoding)
Create and instance that wraps the output stream using the provided encoding.
|
| Modifier and Type | Method and Description |
|---|---|
void |
putArchiveEntry(ArchiveEntry ze)
Writes the headers for an archive entry to the output stream.
|
addRawArchiveEntry, canWriteEntryData, close, closeArchiveEntry, createArchiveEntry, deflate, finish, flush, getEncoding, isSeekable, setComment, setCreateUnicodeExtraFields, setEncoding, setFallbackToUTF8, setLevel, setMethod, setUseLanguageEncodingFlag, setUseZip64, write, writeCentralDirectoryEnd, writeCentralFileHeader, writeDataDescriptor, writeLocalFileHeader, writeOut, writeOut, writeZip64CentralDirectorycount, count, getBytesWritten, getCount, writepublic JarArchiveOutputStream(java.io.OutputStream out)
public JarArchiveOutputStream(java.io.OutputStream out,
java.lang.String encoding)
out - the output stream to wrapencoding - the encoding to use. Use null for the platform default.public void putArchiveEntry(ArchiveEntry ze) throws java.io.IOException
ZipArchiveOutputStreamArchiveOutputStream.closeArchiveEntry() to complete the process.putArchiveEntry in class ZipArchiveOutputStreamze - describes the entryjava.io.IOException - if an I/O error occurs