Gnostice PDFOne
Pro. Ed. v5.0.0


com.gnostice.pdfone.filters
Class PdfCCITTDecodeFilter

java.lang.Object
  extended bycom.gnostice.pdfone.filters.PdfCCITTDecodeFilter

public class PdfCCITTDecodeFilter
extends Object


Constructor Summary
PdfCCITTDecodeFilter(ByteBuffer imageBuffer, int ccittGroup, boolean isEndofLine, boolean isEncodedByteAlign, int columns, int rows, boolean isEndOfBlock, boolean isBlack1)
          Constructor
 
Method Summary
 int getChar()
          Gets each charecter on request after decoding
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfCCITTDecodeFilter

public PdfCCITTDecodeFilter(ByteBuffer imageBuffer,
                            int ccittGroup,
                            boolean isEndofLine,
                            boolean isEncodedByteAlign,
                            int columns,
                            int rows,
                            boolean isEndOfBlock,
                            boolean isBlack1)
Constructor

Parameters:
imageBuffer - that need to be decoded
ccittGroup - a code identifying the encoding scheme used
isEndofLine - A flag indicating whether end-of-line bit patterns are required to be present in the encoding.
isEncodedByteAlign - A flag indicating whether the filter expects extra 0 bits before each encoded line so that the line begins on a byte boundary.
columns - The width of the image in pixels.
rows - The height of the image in scan lines.
isBlack1 - a flag indicating whether 1 bits are to be interpreted as black pixels and 0 bits as white pixels.
Throws:
ExOutofMemory - will be raised on allocation out of memory
Method Detail

getChar

public int getChar()
Gets each charecter on request after decoding

Returns:
The charecter(integer value) after decoding
Throws:
ExInvalidStream - will be raised if FStream is nil

Gnostice PDFOne
Pro. Ed. v5.0.0

To contact our support team, send an e-mail to support@gnostice.com.
 
© 2010 Gnostice Information Technologies Private Limited. All rights reserved.
www.gnostice.com