List of usage examples for org.apache.commons.compress.parallel ScatterGatherBackingStoreSupplier get
ScatterGatherBackingStore get() throws IOException;
From source file:org.codehaus.plexus.archiver.zip.ConcurrentJarCreator.java
public static ScatterZipOutputStream createDeferred( ScatterGatherBackingStoreSupplier scatterGatherBackingStoreSupplier) throws IOException { ScatterGatherBackingStore bs = scatterGatherBackingStoreSupplier.get(); StreamCompressor sc = StreamCompressor.create(Deflater.DEFAULT_COMPRESSION, bs); return new ScatterZipOutputStream(bs, sc); }