Class WriterOutputStream

java.lang.Object
java.io.OutputStream
org.eclipse.jetty.io.WriterOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class WriterOutputStream extends OutputStream
Wrap a Writer as an OutputStream. When all you have is a Writer and only an OutputStream will do. Try not to use this as it indicates that your design is a dogs breakfast (JSP made me write it).