velosurf.util
Class LineWriterOutputStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--velosurf.util.LineWriterOutputStream

public class LineWriterOutputStream
extends java.io.OutputStream


Field Summary
protected  java.lang.StringBuffer buffer
           
protected  java.io.Writer writer
           
 
Constructor Summary
LineWriterOutputStream(java.io.Writer w)
          Construct a new WriterOutputStream, bound to the specified writer.
 
Method Summary
 void write(int c)
          Write a byte to this output stream.
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

writer

protected java.io.Writer writer

buffer

protected java.lang.StringBuffer buffer
Constructor Detail

LineWriterOutputStream

public LineWriterOutputStream(java.io.Writer w)
Construct a new WriterOutputStream, bound to the specified writer.
Parameters:
w - the writer
Method Detail

write

public void write(int c)
           throws java.io.IOException
Write a byte to this output stream.
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException - may be thrown


ooOoo