| java.lang.Object com.lowagie.text.pdf.LZWDecoder
LZWDecoder | public class LZWDecoder (Code) | | A class for performing LZW decoding.
|
Method Summary | |
public void | addStringToTable(byte oldString, byte newString) Add a new string to the string table. | public void | addStringToTable(byte string) Add a new string to the string table. | public byte[] | composeString(byte oldString, byte newString) Append newString to the end of oldString . | public void | decode(byte data, OutputStream uncompData) 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. |
bytePointerbitPointer | int bytePointerbitPointer(Code) | | |
stringTable | byte stringTable(Code) | | |
tableIndexbitsToGet | int tableIndexbitsToGet(Code) | | |
LZWDecoder | public LZWDecoder()(Code) | | |
addStringToTable | public void addStringToTable(byte oldString, byte newString)(Code) | | Add a new string to the string table.
|
addStringToTable | public void addStringToTable(byte string)(Code) | | Add a new string to the string table.
|
composeString | public byte[] composeString(byte oldString, byte newString)(Code) | | Append newString to the end of oldString .
|
decode | public void decode(byte data, OutputStream uncompData)(Code) | | Method to decode LZW compressed data.
Parameters: data - The compressed data. Parameters: uncompData - Array to return the uncompressed data in. |
getNextCode | public int getNextCode()(Code) | | |
initializeStringTable | public void initializeStringTable()(Code) | | Initialize the string table.
|
writeString | public void writeString(byte string)(Code) | | Write out the string just uncompressed.
|
|
|