sam.io
Class Huffman.LeafOutputStream

java.lang.Object
  |
  +--sam.io.Huffman.LeafOutputStream
Enclosing class:
Huffman

protected class Huffman.LeafOutputStream
extends java.lang.Object

Class for writing Huffman-compressed leaves to an OutputStream


Constructor Summary
Huffman.LeafOutputStream(java.io.OutputStream delegee)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(Huffman.Leaf leaf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Huffman.LeafOutputStream

public Huffman.LeafOutputStream(java.io.OutputStream delegee)
Method Detail

write

public void write(Huffman.Leaf leaf)
           throws java.io.IOException
java.io.IOException

flush

public void flush()
           throws java.io.IOException
java.io.IOException

close

public void close()
           throws java.io.IOException
java.io.IOException