velosurf.util
Class LineWriterOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by velosurf.util.LineWriterOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class LineWriterOutputStream
extends java.io.OutputStream


Field Summary
private  java.lang.StringBuffer buffer
          buffer
private  java.io.Writer writer
          writer
 
Constructor Summary
LineWriterOutputStream(java.io.Writer w)
          Construct a new LineWriterOutputStream, 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, toString, wait, wait, wait
 

Field Detail

writer

private java.io.Writer writer
writer


buffer

private java.lang.StringBuffer buffer
buffer

Constructor Detail

LineWriterOutputStream

public LineWriterOutputStream(java.io.Writer w)
Construct a new LineWriterOutputStream, 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.

Specified by:
write in class java.io.OutputStream
Parameters:
c - byte
Throws:
java.io.IOException - may be thrown


~ooOoo~