org.klomp.snark.web
Class WriterOutputStream
java.lang.Object
java.io.OutputStream
org.klomp.snark.web.WriterOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
class WriterOutputStream
- extends OutputStream
Treat a writer as an output stream. Quick 'n dirty, none
of that "intarnasheeonaleyzayshun" stuff. So we can treat
the jsp's PrintWriter as an OutputStream
- Since:
- Jetty 7 copied from routerconsole
Method Summary |
void |
write(int b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriterOutputStream
public WriterOutputStream(Writer writer)
write
public void write(int b)
throws IOException
- Specified by:
write
in class OutputStream
- Throws:
IOException