Package org.codehaus.plexus.archiver.zip
Class DeferredScatterOutputStream
- java.lang.Object
-
- org.codehaus.plexus.archiver.zip.DeferredScatterOutputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.commons.compress.parallel.ScatterGatherBackingStore
public class DeferredScatterOutputStream extends Object implements org.apache.commons.compress.parallel.ScatterGatherBackingStore
-
-
Constructor Summary
Constructors Constructor Description DeferredScatterOutputStream(int threshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
closeForWriting()
InputStream
getInputStream()
void
writeOut(byte[] data, int offset, int length)
-
-
-
Method Detail
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in interfaceorg.apache.commons.compress.parallel.ScatterGatherBackingStore
- Throws:
IOException
-
writeOut
public void writeOut(byte[] data, int offset, int length) throws IOException
- Specified by:
writeOut
in interfaceorg.apache.commons.compress.parallel.ScatterGatherBackingStore
- Throws:
IOException
-
closeForWriting
public void closeForWriting() throws IOException
- Specified by:
closeForWriting
in interfaceorg.apache.commons.compress.parallel.ScatterGatherBackingStore
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-