Class ScatterZipOutputStream

java.lang.Object
org.apache.commons.compress.archivers.zip.ScatterZipOutputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class ScatterZipOutputStream extends Object implements Closeable
A ZIP output stream that is optimized for multi-threaded scatter/gather construction of ZIP files.

The internal data format of the entries used by this class are entirely private to this class and are not part of any public api whatsoever.

It is possible to extend this class to support different kinds of backing storage, the default implementation only supports file-based backing.

Thread safety: This class supports multiple threads. But the "writeTo" method must be called by the thread that originally created the ZipArchiveEntry.

Since:
1.10