|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.pdf.filter.LZWDecoder
public class LZWDecoder
A class for performing LZW decoding.
| Constructor Summary | |
|---|---|
LZWDecoder()
|
|
| Method Summary | |
|---|---|
void |
addStringToTable(byte[] string)
Add a new string to the string table. |
void |
addStringToTable(byte[] oldString,
byte newString)
Add a new string to the string table. |
byte[] |
composeString(byte[] oldString,
byte newString)
Append newString to the end of oldString. |
byte[] |
decode(byte[] data)
Method to decode LZW compressed data. |
int |
getNextCode(byte[] data)
|
void |
initializeStringTable()
Initialize the string table. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LZWDecoder()
| Method Detail |
|---|
public int getNextCode(byte[] data)
public void addStringToTable(byte[] oldString,
byte newString)
oldString - newString - public void addStringToTable(byte[] string)
string -
public byte[] composeString(byte[] oldString,
byte newString)
newString to the end of oldString.
oldString - newString -
public byte[] decode(byte[] data)
throws IOException
data - The compressed data.
IOExceptionpublic void initializeStringTable()
|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||