Class ParallelScatterZipCreator

java.lang.Object
org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator

public class ParallelScatterZipCreator extends Object
Creates a ZIP in parallel by using multiple threadlocal ScatterZipOutputStream instances.

Note that until 1.18, this class generally made no guarantees about the order of things written to the output file. Things that needed to come in a specific order (manifests, directories) had to be handled by the client of this class, usually by writing these things to the ZipArchiveOutputStream before calling writeTo on this class.

The client can supply an ExecutorService, but for reasons of memory model consistency, this will be shut down by this class prior to completion.

Since:
1.10