|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sam.io.Node | +--sam.io.Huffman | +--sam.io.Huffman8
Nested Class Summary |
Nested classes inherited from class sam.io.Huffman |
Huffman.Leaf, Huffman.LeafInputStream, Huffman.LeafOutputStream |
Constructor Summary | |
Huffman8()
Creates a new well-balanced Huffman tree. |
Method Summary | |
java.io.InputStream |
input(java.io.InputStream delegee)
Stream for decoding 8 bits huffman-encoded data |
java.io.OutputStream |
output(java.io.OutputStream delegee)
Stream for encoding 8 bits huffman-encoded data |
Methods inherited from class sam.io.Huffman |
get, isLeaf, longestPath, main, numberOfLeaves, numberOfNodes, ordered, ratio, reset, shortestPath, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Huffman8()
Method Detail |
public java.io.InputStream input(java.io.InputStream delegee)
input
in class Huffman
delegee
- the 8 bits stream to decode frompublic java.io.OutputStream output(java.io.OutputStream delegee)
output
in class Huffman
delegee
- the 8 bits stream to encode to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |