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 InputStream
public int read() throws IOException
read
in class InputStream
IOException
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.