org.icepdf.core.pobjects.filters
Class RunLengthDecode

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

public class RunLengthDecode
extends ChunkingInputStream

Since:
2.0
Author:
Mark Collette

Field Summary
 
Fields inherited from class org.icepdf.core.pobjects.filters.ChunkingInputStream
buffer, in
 
Constructor Summary
RunLengthDecode(java.io.InputStream input)
           
 
Method Summary
protected  int fillInternalBuffer()
          This is only called if bufferAvailable is 0.
 
Methods inherited from class org.icepdf.core.pobjects.filters.ChunkingInputStream
available, close, 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

RunLengthDecode

public RunLengthDecode(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