net.groboclown.util.io.v1
Class WriterOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--net.groboclown.util.io.v1.WriterOutputStream
- public class WriterOutputStream
- extends OutputStream
Converts from a Writer to an OutputStream.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
w
private Writer w
WriterOutputStream
public WriterOutputStream(Writer w)
write
public void write(int b)
throws IOException
- Overrides:
write
in class OutputStream
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Overrides:
write
in class OutputStream
write
public void write(byte[] b)
throws IOException
- Overrides:
write
in class OutputStream
close
public void close()
throws IOException
- Overrides:
close
in class OutputStream
flush
public void flush()
throws IOException
- Overrides:
flush
in class OutputStream
Written under the LGPL