| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final short[][] | |
| pack-priv static final short[][] | |
| pack-priv static final CCITTFaxDecoderStream. | |
| pack-priv int | |
| pack-priv int | |
| private int[] | |
| private int | |
| private int[] | |
| private int | |
| pack-priv static final CCITTFaxDecoderStream. | |
| private final int | |
| private int | |
| private int | |
| private final byte[] | |
| pack-priv static final CCITTFaxDecoderStream. | |
| pack-priv static final CCITTFaxDecoderStream. | |
| pack-priv static final CCITTFaxDecoderStream. | |
| private int | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| public static final short[][] | |
| public static final short[][] | |
| pack-priv static final CCITTFaxDecoderStream. |
| Access | Constructor and Description |
|---|---|
| public | CCITTFaxDecoderStream(final InputStream
the compressed CCITT stream. stream, final int the number of columns in the stream. columns, final int the type of stream, must be one of type, final long COMPRESSION_CCITT_MODIFIED_HUFFMAN_RLE,
COMPRESSION_CCITT_T4 or COMPRESSION_CCITT_T6.CCITT T.4 or T.6 options. options, final boolean enable byte alignment used in PDF files (EncodedByteAlign). byteAligned)Creates a CCITTFaxDecoderStream. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private int | |
| private void | |
| private int | |
| public boolean | markSupported()
Overrides java. Tests if this input stream supports the |
| public int | |
| public int | read(byte[]
the buffer into which the data is read. b, int the start offset in array off, int b
at which the data is written.the maximum number of bytes to read. len)Overrides java. Reads up to |
| private boolean | |
| public synchronized void | reset()
Overrides java. Repositions this stream to the position at the time the
|
| private void | |
| public long | skip(long
the number of bytes to be skipped. n)Overrides java. Skips over and discards |
| BLACK_CODES | back to summary |
|---|---|
| pack-priv static final short[][] BLACK_CODES | |
| BLACK_RUN_LENGTHS | back to summary |
|---|---|
| pack-priv static final short[][] BLACK_RUN_LENGTHS | |
| blackRunTree | back to summary |
|---|---|
| pack-priv static final CCITTFaxDecoderStream. | |
| buffer | back to summary |
|---|---|
| pack-priv int buffer | |
| bufferPos | back to summary |
|---|---|
| pack-priv int bufferPos | |
| changesCurrentRow | back to summary |
|---|---|
| private int[] changesCurrentRow | |
| changesCurrentRowCount | back to summary |
|---|---|
| private int changesCurrentRowCount | |
| changesReferenceRow | back to summary |
|---|---|
| private int[] changesReferenceRow | |
| changesReferenceRowCount | back to summary |
|---|---|
| private int changesReferenceRowCount | |
| codeTree | back to summary |
|---|---|
| pack-priv static final CCITTFaxDecoderStream. | |
| columns | back to summary |
|---|---|
| private final int columns | |
| decodedLength | back to summary |
|---|---|
| private int decodedLength | |
| decodedPos | back to summary |
|---|---|
| private int decodedPos | |
| decodedRow | back to summary |
|---|---|
| private final byte[] decodedRow | |
| EOL | back to summary |
|---|---|
| pack-priv static final CCITTFaxDecoderStream. | |
| eolOnlyTree | back to summary |
|---|---|
| pack-priv static final CCITTFaxDecoderStream. | |
| FILL | back to summary |
|---|---|
| pack-priv static final CCITTFaxDecoderStream. | |
| lastChangingElement | back to summary |
|---|---|
| private int lastChangingElement | |
| optionByteAligned | back to summary |
|---|---|
| private final boolean optionByteAligned | |
| optionG32D | back to summary |
|---|---|
| private final boolean optionG32D | |
| optionG3Fill | back to summary |
|---|---|
| private final boolean optionG3Fill | |
| optionUncompressed | back to summary |
|---|---|
| private final boolean optionUncompressed | |
| type | back to summary |
|---|---|
| private final int type | |
| VALUE_EOL | back to summary |
|---|---|
| pack-priv static final int VALUE_EOL | |
| VALUE_FILL | back to summary |
|---|---|
| pack-priv static final int VALUE_FILL | |
| VALUE_HMODE | back to summary |
|---|---|
| pack-priv static final int VALUE_HMODE | |
| VALUE_PASSMODE | back to summary |
|---|---|
| pack-priv static final int VALUE_PASSMODE | |
| WHITE_CODES | back to summary |
|---|---|
| public static final short[][] WHITE_CODES | |
| WHITE_RUN_LENGTHS | back to summary |
|---|---|
| public static final short[][] WHITE_RUN_LENGTHS | |
| whiteRunTree | back to summary |
|---|---|
| pack-priv static final CCITTFaxDecoderStream. | |
| CCITTFaxDecoderStream | back to summary |
|---|---|
| public CCITTFaxDecoderStream(final InputStream stream, final int columns, final int type, final long options, final boolean byteAligned) Creates a CCITTFaxDecoderStream. This constructor may be used for CCITT streams embedded in PDF files, which use EncodedByteAlign.
| |
| decode1D | back to summary |
|---|---|
| private void decode1D() throws IOException | |
| decode2D | back to summary |
|---|---|
| private void decode2D() throws IOException | |
| decodeRow | back to summary |
|---|---|
| private void decodeRow() throws IOException | |
| decodeRowType2 | back to summary |
|---|---|
| private void decodeRowType2() throws IOException | |
| decodeRowType4 | back to summary |
|---|---|
| private void decodeRowType4() throws IOException | |
| decodeRowType6 | back to summary |
|---|---|
| private void decodeRowType6() throws IOException | |
| decodeRun | back to summary |
|---|---|
| private int decodeRun(final CCITTFaxDecoderStream. | |
| fetch | back to summary |
|---|---|
| private void fetch() throws IOException | |
| getNextChangingElement | back to summary |
|---|---|
| private int getNextChangingElement(final int a0, final boolean white) | |
| markSupported | back to summary |
|---|---|
| public boolean markSupported() Overrides java. Doc from java. Tests if this input stream supports the
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Overrides java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| read | back to summary |
|---|---|
| public int read(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Reads up to
| |
| readBit | back to summary |
|---|---|
| private boolean readBit() throws IOException | |
| reset | back to summary |
|---|---|
| public synchronized void reset() throws IOException Overrides java. Doc from java. Repositions this stream to the position at the time the
Stream marks are intended to be used in situations where you need to read ahead a little to see what's in the stream. Often this is most easily done by invoking some general parser. If the stream is of the type handled by the parse, it just chugs along happily. If the stream is not of that type, the parser should toss an exception when it fails. If this happens within readlimit bytes, it allows the outer code to reset the stream and try another parser.
| |
| resetBuffer | back to summary |
|---|---|
| private void resetBuffer() | |
| skip | back to summary |
|---|---|
| public long skip(long n) throws IOException Overrides java. Doc from java. Skips over and discards
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv CCITTFaxDecoderStream. | |
| pack-priv CCITTFaxDecoderStream. | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public String | |
| pack-priv CCITTFaxDecoderStream. |
| canBeFill | back to summary |
|---|---|
| pack-priv boolean canBeFill | |
| isLeaf | back to summary |
|---|---|
| pack-priv boolean isLeaf | |
| left | back to summary |
|---|---|
| pack-priv CCITTFaxDecoderStream. | |
| right | back to summary |
|---|---|
| pack-priv CCITTFaxDecoderStream. | |
| value | back to summary |
|---|---|
| pack-priv int value | |
| Node | back to summary |
|---|---|
| private Node() | |
| set | back to summary |
|---|---|
| pack-priv void set(final boolean next, final CCITTFaxDecoderStream. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| walk | back to summary |
|---|---|
| pack-priv CCITTFaxDecoderStream. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final CCITTFaxDecoderStream. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void |
| root | back to summary |
|---|---|
| pack-priv final CCITTFaxDecoderStream. | |
| Tree | back to summary |
|---|---|
| private Tree() | |
| fill | back to summary |
|---|---|
| pack-priv void fill(final int depth, final int path, final int value) throws IOException | |
| fill | back to summary |
|---|---|
| pack-priv void fill(final int depth, final int path, final CCITTFaxDecoderStream. | |