ZipArchiveOutputStream
Creates a new ZIP OutputStream filtering the underlying stream.
Parameters
out
the outputstream to zip
Creates a split ZIP Archive.
The files making up the archive will use Z01, Z02, ... extensions and the last part of it will be the given
file.
Even though the stream writes to a file this stream will behave as if no random access was possible. This means the sizes of stored entries need to be known before the actual entry data is written.
Since
1.20
Parameters
file
the file that will become the last part of the split archive
zipSplitSize
maximum size of a single part of the split archive created by this stream. Must be between 64kB and about 4GB.
Throws
on error
if zipSplitSize is not in the required range
Creates a new ZIP OutputStream writing to a SeekableByteChannel.
Since
1.13
Parameters
channel
the channel to zip to