Package org.apache.commons.imaging.common.mylzw

## Class MyLzwDecompressor

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

-     public final class MyLzwDecompressor
      extends Object

- - ### Nested Class Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MyLzwDecompressor​(int initialCodeSize, ByteOrder byteOrder)` |
    `MyLzwDecompressor​(int initialCodeSize, ByteOrder byteOrder, MyLzwDecompressor.Listener listener)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `byte[]` | `decompress​(InputStream is, int expectedLength)` |
    `void` | `setTiffLZWMode()` |

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

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

- - ### Constructor Detail

    - #### MyLzwDecompressor

          public MyLzwDecompressor​(int initialCodeSize,
                                   ByteOrder byteOrder)
                            throws ImageReadException

      Throws:
        `ImageReadException`

    - #### MyLzwDecompressor

          public MyLzwDecompressor​(int initialCodeSize,
                                   ByteOrder byteOrder,
                                   MyLzwDecompressor.Listener listener)
                            throws ImageReadException

      Throws:
        `ImageReadException`

  - ### Method Detail

    - #### setTiffLZWMode

          public void setTiffLZWMode()

    - #### decompress

          public byte[] decompress​(InputStream is,
                                   int expectedLength)
                            throws IOException

      Throws:
        `IOException`