Class CBZip2OutputStream

java.lang.Object
java.io.OutputStream
ecmwf.common.compression.bzip2a.CBZip2OutputStream
All Implemented Interfaces:
BZip2Constants, Closeable, Flushable, AutoCloseable

public final class CBZip2OutputStream extends OutputStream implements BZip2Constants
The Class CBZip2OutputStream.
  • Field Details

    • SETMASK

      protected static final int SETMASK
      The Constant SETMASK.
      See Also:
    • CLEARMASK

      protected static final int CLEARMASK
      The Constant CLEARMASK.
      See Also:
    • GREATER_ICOST

      protected static final int GREATER_ICOST
      The Constant GREATER_ICOST.
      See Also:
    • LESSER_ICOST

      protected static final int LESSER_ICOST
      The Constant LESSER_ICOST.
      See Also:
    • SMALL_THRESH

      protected static final int SMALL_THRESH
      The Constant SMALL_THRESH.
      See Also:
    • DEPTH_THRESH

      protected static final int DEPTH_THRESH
      The Constant DEPTH_THRESH.
      See Also:
  • Constructor Details

    • CBZip2OutputStream

      public CBZip2OutputStream(OutputStream inStream) throws IOException
      Instantiates a new CB zip 2 output stream.
      Parameters:
      inStream - the in stream
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • CBZip2OutputStream

      public CBZip2OutputStream(OutputStream inStream, int inBlockSize) throws IOException
      Instantiates a new CB zip 2 output stream.
      Parameters:
      inStream - the in stream
      inBlockSize - the in block size
      Throws:
      IOException - Signals that an I/O exception has occurred.
  • Method Details