org.icepdf.core.pobjects.filters
Class LZWDecode

java.lang.Object
  extended by java.io.InputStream
      extended by org.icepdf.core.pobjects.filters.ChunkingInputStream
          extended by org.icepdf.core.pobjects.filters.LZWDecode
All Implemented Interfaces:
java.io.Closeable

public class LZWDecode
extends ChunkingInputStream

Since:
2.0
Author:
Mark Collette

Field Summary
 
Fields inherited from class org.icepdf.core.pobjects.filters.ChunkingInputStream
buffer, in
 
Constructor Summary
LZWDecode(BitStream inb, Library library, java.util.Hashtable entries)
           
 
Method Summary
 void close()
           
protected  int fillInternalBuffer()
          This is only called if bufferAvailable is 0.
 
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
 

Constructor Detail

LZWDecode

public LZWDecode(BitStream inb,
                 Library library,
                 java.util.Hashtable entries)
Method Detail

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