java.io.Closeable, java.lang.AutoCloseable, org.apache.commons.compress.parallel.ScatterGatherBackingStorepublic class DeferredScatterOutputStream
extends java.lang.Object
implements org.apache.commons.compress.parallel.ScatterGatherBackingStore
| Constructor | Description |
|---|---|
DeferredScatterOutputStream(int threshold) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
closeForWriting() |
|
java.io.InputStream |
getInputStream() |
|
void |
writeOut(byte[] data,
int offset,
int length) |
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface org.apache.commons.compress.parallel.ScatterGatherBackingStorejava.io.IOExceptionpublic void writeOut(byte[] data,
int offset,
int length)
throws java.io.IOException
writeOut in interface org.apache.commons.compress.parallel.ScatterGatherBackingStorejava.io.IOExceptionpublic void closeForWriting()
throws java.io.IOException
closeForWriting in interface org.apache.commons.compress.parallel.ScatterGatherBackingStorejava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeablejava.io.IOException