Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » pdf » codec » [javadoc | source]
com.lowagie.text.pdf.codec
public class: TIFFLZWDecoder [javadoc | source]
java.lang.Object
   com.lowagie.text.pdf.codec.TIFFLZWDecoder
A class for performing LZW decoding.
Field Summary
 byte[][] stringTable     
 byte[] data     
 byte[] uncompData     
 int tableIndex     
 int bitsToGet     
 int bytePointer     
 int bitPointer     
 int dstIndex     
 int w     
 int h     
 int predictor     
 int samplesPerPixel     
 int nextData     
 int nextBits     
 int[] andTable     
Constructor:
 public TIFFLZWDecoder(int w,
    int predictor,
    int samplesPerPixel) 
Method from com.lowagie.text.pdf.codec.TIFFLZWDecoder Summary:
addStringToTable,   addStringToTable,   composeString,   decode,   getNextCode,   initializeStringTable,   writeString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.pdf.codec.TIFFLZWDecoder Detail:
 public  void addStringToTable(byte[] string) 
    Add a new string to the string table.
 public  void addStringToTable(byte[] oldString,
    byte newString) 
    Add a new string to the string table.
 public byte[] composeString(byte[] oldString,
    byte newString) 
    Append newString to the end of oldString.
 public byte[] decode(byte[] data,
    byte[] uncompData,
    int h) 
    Method to decode LZW compressed data.
 public int getNextCode() 
 public  void initializeStringTable() 
    Initialize the string table.
 public  void writeString(byte[] string) 
    Write out the string just uncompressed.