org.apache.commons.compress.archivers.jar
public class JarArchiveOutputStream extends ZipArchiveOutputStream
ZipArchiveOutputStream.UnicodeExtraFieldPolicy
def, DEFAULT_COMPRESSION, DEFLATED, EFS_FLAG, finished, STORED
Constructor and Description |
---|
JarArchiveOutputStream(OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
putArchiveEntry(ArchiveEntry ze)
Writes the headers for an archive entry to the output stream.
|
canWriteEntryData, close, closeArchiveEntry, createArchiveEntry, deflate, finish, flush, getEncoding, isSeekable, setComment, setCreateUnicodeExtraFields, setEncoding, setFallbackToUTF8, setLevel, setMethod, setUseLanguageEncodingFlag, setUseZip64, write, writeCentralDirectoryEnd, writeCentralFileHeader, writeDataDescriptor, writeLocalFileHeader, writeOut, writeOut, writeZip64CentralDirectory
count, count, getBytesWritten, getCount, write
write
public JarArchiveOutputStream(OutputStream out)
public void putArchiveEntry(ArchiveEntry ze) throws IOException
ZipArchiveOutputStream
ArchiveOutputStream.closeArchiveEntry()
to complete the process.putArchiveEntry
in class ZipArchiveOutputStream
ze
- describes the entryIOException
Copyright © 2014 The Apache Software Foundation. All rights reserved.