org.icepdf.core.pobjects.filters
Class FlateDecode

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

public class FlateDecode
extends ChunkingInputStream

Since:
2.0
Author:
Mark Collette

Field Summary
 
Fields inherited from class org.icepdf.core.pobjects.filters.ChunkingInputStream
buffer, in
 
Constructor Summary
FlateDecode(Library library, java.util.Hashtable props, java.io.InputStream input)
           
 
Method Summary
protected  int fillInternalBuffer()
          This is only called if bufferAvailable is 0.
 java.lang.String toString()
           
 
Methods inherited from class org.icepdf.core.pobjects.filters.ChunkingInputStream
available, close, fillBufferFromInputStream, fillBufferFromInputStream, mark, markSupported, read, read, read, reset, setBufferSize, setInputStream, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlateDecode

public FlateDecode(Library library,
                   java.util.Hashtable props,
                   java.io.InputStream input)
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

toString

public java.lang.String toString()
Overrides:
toString in class ChunkingInputStream