Class StreamCompressor.DataOutputCompressor

java.lang.Object
org.apache.commons.compress.archivers.zip.StreamCompressor
org.apache.commons.compress.archivers.zip.StreamCompressor.DataOutputCompressor
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
StreamCompressor

private static final class StreamCompressor.DataOutputCompressor extends StreamCompressor
  • Field Details

  • Constructor Details

  • Method Details

    • writeOut

      protected void writeOut(byte[] data, int offset, int length) throws IOException
      Description copied from class: StreamCompressor
      Writes len bytes from the specified byte array starting at offset off to the output stream.
      Specified by:
      writeOut in class StreamCompressor
      Parameters:
      data - the data.
      offset - the start offset in the data.
      length - the number of bytes to write.
      Throws:
      IOException - if an I/O error occurs.