org.apache.commons.imaging.common.mylzw

## Class MyLzwCompressor

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

-     public class MyLzwCompressor
      extends Object

- - ### Nested Class Summary

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

  - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `compress(byte[] bytes)`

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

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

- - ### Constructor Detail

    - #### MyLzwCompressor

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

    - #### MyLzwCompressor

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

  - ### Method Detail

    - #### compress

          public byte[] compress(byte[] bytes)
                          throws IOException

      Throws:
        `IOException`

Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.