public class JarArchiveOutputStream extends ZipArchiveOutputStream
ZipArchiveOutputStream.UnicodeExtraFieldPolicy
DEFAULT_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, finish, flush, getEncoding, isSeekable, setComment, setCreateUnicodeExtraFields, setEncoding, setFallbackToUTF8, setLevel, setMethod, setUseLanguageEncodingFlag, setUseZip64, write
getBytesWritten, getCount, write
public 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
ZipArchiveOutputStream
ArchiveOutputStream.closeArchiveEntry()
to complete the process.putArchiveEntry
in class ZipArchiveOutputStream
ze
- describes the entryjava.io.IOException
- if an I/O error occursCopyright © 2010 - 2020 Adobe. All Rights Reserved