public class JarArchiveOutputStream extends ZipArchiveOutputStream
ZipArchiveOutputStream.UnicodeExtraFieldPolicyDEFAULT_COMPRESSION, DEFLATED, EFS_FLAG, 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, createArchiveEntry, finish, flush, getBytesWritten, getEncoding, isSeekable, setComment, setCreateUnicodeExtraFields, setEncoding, setFallbackToUTF8, setLevel, setMethod, setUseLanguageEncodingFlag, setUseZip64, write, writePreamble, writePreamblegetCount, 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 occursCopyright © 2010 - 2023 Adobe. All Rights Reserved