Class 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 Detail

      • DeferredScatterOutputStream

        public DeferredScatterOutputStream​(int threshold)
    • Method Detail

      • getInputStream

        public InputStream getInputStream()
                                   throws IOException
        Specified by:
        getInputStream in interface org.apache.commons.compress.parallel.ScatterGatherBackingStore
        Throws:
        IOException
      • writeOut

        public void writeOut​(byte[] data,
                             int offset,
                             int length)
                      throws IOException
        Specified by:
        writeOut in interface org.apache.commons.compress.parallel.ScatterGatherBackingStore
        Throws:
        IOException
      • closeForWriting

        public void closeForWriting()
                             throws IOException
        Specified by:
        closeForWriting in interface org.apache.commons.compress.parallel.ScatterGatherBackingStore
        Throws:
        IOException