public class JarArchiveOutputStream extends ZipArchiveOutputStream
ZipArchiveOutputStream.UnicodeExtraFieldPolicydef, DEFAULT_COMPRESSION, DEFLATED, EFS_FLAG, finished, STORED| Constructor and Description | 
|---|
| JarArchiveOutputStream(OutputStream out) | 
| JarArchiveOutputStream(OutputStream out,
                      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, writewritepublic JarArchiveOutputStream(OutputStream out)
public JarArchiveOutputStream(OutputStream out, String encoding)
out - the output stream to wrapencoding - the encoding to use. Use null for the platform default.public void putArchiveEntry(ArchiveEntry ze) throws IOException
ZipArchiveOutputStreamArchiveOutputStream.closeArchiveEntry() to complete the process.putArchiveEntry in class ZipArchiveOutputStreamze - describes the entryIOException - if an I/O error occursCopyright © 2018 The Apache Software Foundation. All rights reserved.