|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
org.apache.commons.compress.archivers.ArchiveOutputStream
org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
org.apache.commons.compress.archivers.jar.JarArchiveOutputStream
public class JarArchiveOutputStream
Subclass that adds a special extra field to the very first entry which allows the created archive to be used as an executable jar on Solaris.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream |
---|
ZipArchiveOutputStream.UnicodeExtraFieldPolicy |
Field Summary |
---|
Fields inherited from class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream |
---|
def, DEFAULT_COMPRESSION, DEFLATED, EFS_FLAG, finished, STORED |
Constructor Summary | |
---|---|
JarArchiveOutputStream(java.io.OutputStream out)
|
Method Summary | |
---|---|
void |
putArchiveEntry(ArchiveEntry ze)
Writes the headers for an archive entry to the output stream. |
Methods inherited from class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream |
---|
close, closeArchiveEntry, createArchiveEntry, deflate, finish, flush, getEncoding, isSeekable, setComment, setCreateUnicodeExtraFields, setEncoding, setFallbackToUTF8, setLevel, setMethod, setUseLanguageEncodingFlag, write, writeCentralDirectoryEnd, writeCentralFileHeader, writeDataDescriptor, writeLocalFileHeader, writeOut, writeOut |
Methods inherited from class org.apache.commons.compress.archivers.ArchiveOutputStream |
---|
count, getCount, write |
Methods inherited from class java.io.OutputStream |
---|
write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JarArchiveOutputStream(java.io.OutputStream out)
Method Detail |
---|
public void putArchiveEntry(ArchiveEntry ze) throws java.io.IOException
ZipArchiveOutputStream
ArchiveOutputStream.closeArchiveEntry()
to complete the process.
putArchiveEntry
in class ZipArchiveOutputStream
ze
- describes the entry
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |