Build 1.0_r1(from source)

java.lang
Class WriterOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.lang.WriterOutputStream
All Implemented Interfaces:
Closeable, Flushable

 class WriterOutputStream
extends OutputStream


Constructor Summary
WriterOutputStream(Writer writer)
           
 
Method Summary
 void flush()
          Flush this OutputStream.
 void write(int b)
          Writes the specified byte oneByte to this OutputStream.
 
Methods inherited from class java.io.OutputStream
close, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriterOutputStream

public WriterOutputStream(Writer writer)
Method Detail

write

public void write(int b)
           throws IOException
Description copied from class: OutputStream
Writes the specified byte oneByte to this OutputStream. Only the low order byte of oneByte is written.

Specified by:
write in class OutputStream
Parameters:
b - the byte to be written
Throws:
IOException - If an error occurs attempting to write to this OutputStream.

flush

public void flush()
           throws IOException
Description copied from class: OutputStream
Flush this OutputStream. Concrete implementations of this class should ensure any pending writes to the underlying stream are written out when this method is envoked. This implementation does nothing.

Specified by:
flush in interface Flushable
Overrides:
flush in class OutputStream
Throws:
IOException - If an error occurs attempting to flush this OutputStream.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature