Package org.apache.commons.imaging.mylzw

# Class MyLzwCompressor

java.lang.Object
org.apache.commons.imaging.mylzw.MyLzwCompressor

public class MyLzwCompressor extends Object

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static interface`
  `MyLzwCompressor.Listener`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MyLzwCompressor(int initialCodeSize, ByteOrder byteOrder, boolean earlyLimit)`
  `MyLzwCompressor(int initialCodeSize, ByteOrder byteOrder, boolean earlyLimit, MyLzwCompressor.Listener listener)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `byte[]`
  `compress(byte[] bytes)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MyLzwCompressor

    public MyLzwCompressor(int initialCodeSize, ByteOrder byteOrder, boolean earlyLimit)

  - ### MyLzwCompressor

    public MyLzwCompressor(int initialCodeSize, ByteOrder byteOrder, boolean earlyLimit, MyLzwCompressor.Listener listener)

- ## Method Details

  - ### compress

    public byte[] compress(byte[] bytes) throws IOException
    Throws:
      `IOException`