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
static Name BITS_PER_COMPONENT_VALUE
           
static Name COLORS_VALUE
           
static Name COLUMNS_VALUE
           
static Name DECODE_PARMS_VALUE
           
static Name PREDICTOR_VALUE
           
static Name WIDTH_VALUE
           
 
Fields inherited from class org.icepdf.core.pobjects.filters.ChunkingInputStream
buffer, in
 
Constructor Summary
FlateDecode(Library library, java.util.HashMap 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
 

Field Detail

DECODE_PARMS_VALUE

public static final Name DECODE_PARMS_VALUE

PREDICTOR_VALUE

public static final Name PREDICTOR_VALUE

WIDTH_VALUE

public static final Name WIDTH_VALUE

COLUMNS_VALUE

public static final Name COLUMNS_VALUE

COLORS_VALUE

public static final Name COLORS_VALUE

BITS_PER_COMPONENT_VALUE

public static final Name BITS_PER_COMPONENT_VALUE
Constructor Detail

FlateDecode

public FlateDecode(Library library,
                   java.util.HashMap 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