sam.io
Class DoubleByte.WriterOutputStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--sam.io.DoubleByte.WriterOutputStream
Enclosing class:
DoubleByte

public static class DoubleByte.WriterOutputStream
extends java.io.OutputStream

Writes single bytes into a double-bytes Writer


Field Summary
protected  DoubleByte.Writer writer
           
 
Constructor Summary
protected DoubleByte.WriterOutputStream()
           
  DoubleByte.WriterOutputStream(DoubleByte.Writer writer)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writer

protected DoubleByte.Writer writer
Constructor Detail

DoubleByte.WriterOutputStream

protected DoubleByte.WriterOutputStream()

DoubleByte.WriterOutputStream

public DoubleByte.WriterOutputStream(DoubleByte.Writer writer)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Overrides:
flush in class java.io.OutputStream
java.io.IOException

close

public void close()
           throws java.io.IOException
Overrides:
close in class java.io.OutputStream
java.io.IOException