public class CCITTFaxG31DDecodeInputStream extends InputStream implements CCITTFaxConstants
BLACK_MAKE_UP, BLACK_TERMINATING, COMPRESSION_GROUP3_1D, COMPRESSION_GROUP3_2D, COMPRESSION_GROUP4_2D, EOL_CODE, LONG_MAKE_UP, WHITE_MAKE_UP, WHITE_TERMINATING| Constructor and Description |
|---|
CCITTFaxG31DDecodeInputStream(InputStream source,
int columns,
boolean encodedByteAlign)
Creates a new decoder.
|
CCITTFaxG31DDecodeInputStream(InputStream source,
int columns,
int rows,
boolean encodedByteAlign)
Creates a new decoder.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
markSupported() |
int |
read() |
public CCITTFaxG31DDecodeInputStream(InputStream source, int columns, int rows, boolean encodedByteAlign)
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 notpublic CCITTFaxG31DDecodeInputStream(InputStream source, int columns, boolean encodedByteAlign)
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 notpublic boolean markSupported()
markSupported in class InputStreampublic int read()
throws IOException
read in class InputStreamIOExceptionCopyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.