org.apache.pdfbox.io.ccitt
Class CCITTFaxG31DDecodeInputStream
java.lang.Object
java.io.InputStream
org.apache.pdfbox.io.ccitt.CCITTFaxG31DDecodeInputStream
- All Implemented Interfaces:
- Closeable, CCITTFaxConstants
public class CCITTFaxG31DDecodeInputStream
- extends InputStream
- implements CCITTFaxConstants
This is a CCITT Group 3 1D decoder (ITU T.4).
- Version:
- $Revision$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CCITTFaxG31DDecodeInputStream
public CCITTFaxG31DDecodeInputStream(InputStream source,
int columns,
int rows,
boolean encodedByteAlign)
- 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)encodedByteAlign - true if each encoded scan line is filled
to a byte boundary, false if not
CCITTFaxG31DDecodeInputStream
public CCITTFaxG31DDecodeInputStream(InputStream source,
int columns,
boolean encodedByteAlign)
- Creates a new decoder.
- Parameters:
source - the input stream containing the compressed data.columns - the number of columnsencodedByteAlign - true if each encoded scan line is filled
to a byte boundary, false if not
markSupported
public boolean markSupported()
-
- Overrides:
markSupported in class InputStream
read
public int read()
throws IOException
-
- Specified by:
read in class InputStream
- Throws:
IOException
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.