org.icepdf.core.pobjects.filters
Class LZWDecode
java.lang.Object
java.io.InputStream
org.icepdf.core.pobjects.filters.ChunkingInputStream
org.icepdf.core.pobjects.filters.LZWDecode
- All Implemented Interfaces:
- java.io.Closeable
public class LZWDecode
- extends ChunkingInputStream
- Since:
- 2.0
- Author:
- Mark Collette
| Methods inherited from class org.icepdf.core.pobjects.filters.ChunkingInputStream |
available, fillBufferFromInputStream, fillBufferFromInputStream, mark, markSupported, read, read, read, reset, setBufferSize, setInputStream, skip, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DECODEPARMS_KEY
public static final Name DECODEPARMS_KEY
EARLYCHANGE_KEY
public static final Name EARLYCHANGE_KEY
LZWDecode
public LZWDecode(BitStream inb,
Library library,
java.util.HashMap entries)
fillInternalBuffer
protected int fillInternalBuffer()
throws java.io.IOException
- Description copied from class:
ChunkingInputStream
- This is only called if bufferAvailable is 0.
Implementations should read in more data, and return how many bytes are now available
- Specified by:
fillInternalBuffer in class ChunkingInputStream
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable- Overrides:
close in class ChunkingInputStream
- Throws:
java.io.IOException