org.apache.pdfbox.io.ccitt
Class CCITTFaxG31DDecodeInputStream
java.lang.Object
java.io.InputStream
org.apache.pdfbox.io.ccitt.CCITTFaxG31DDecodeInputStream
- All Implemented Interfaces:
- java.io.Closeable, CCITTFaxConstants
public class CCITTFaxG31DDecodeInputStream
- extends java.io.InputStream
- implements CCITTFaxConstants
This is a CCITT Group 3 1D decoder (ITU T.4).
- Version:
- $Revision$
Methods inherited from class java.io.InputStream |
available, close, mark, read, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CCITTFaxG31DDecodeInputStream
public CCITTFaxG31DDecodeInputStream(java.io.InputStream source,
int columns,
int rows)
- Creates a new decoder.
- Parameters:
source
- the input stream containing the compressed data.columns
- the number of columnsrows
- the number of rows (0 if undefined)
CCITTFaxG31DDecodeInputStream
public CCITTFaxG31DDecodeInputStream(java.io.InputStream source,
int columns)
- Creates a new decoder.
- Parameters:
source
- the input stream containing the compressed data.columns
- the number of columns
markSupported
public boolean markSupported()
-
- Overrides:
markSupported
in class java.io.InputStream
read
public int read()
throws java.io.IOException
-
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException