|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.tagtraum.perf.util.HuffmanTree
Implementation of a Huffmantree. Note that this class is not optimized.
Constructor Summary | |
HuffmanTree()
|
Method Summary | |
byte[] |
decode(java.io.InputStream in)
|
void |
encode(byte[] plaintext,
int offset,
int length,
java.io.OutputStream rawOut)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HuffmanTree()
Method Detail |
public void encode(byte[] plaintext, int offset, int length, java.io.OutputStream rawOut) throws java.io.IOException
java.io.IOException
public byte[] decode(java.io.InputStream in) throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |