Package org.apache.commons.compress.compressors.lz77support

# Interface LZ77Compressor.Callback

Enclosing class:
  LZ77Compressor

public static interface LZ77Compressor.Callback
Callback invoked while the compressor processes data.

The callback is invoked on the same thread that receives the bytes to compress and may be invoked multiple times during the execution of `LZ77Compressor.compress()` or `LZ77Compressor.finish()`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `accept(LZ77Compressor.Block b)`
  Consumes a block.

- ## Method Details

  - ### accept

    void accept(LZ77Compressor.Block b) throws IOException
    Consumes a block.
    Parameters:
      `b` - the block to consume
    Throws:
      `IOException` - in case of an error