Class WriterOutputStream
java.lang.Object
java.io.OutputStream
org.eclipse.jetty.io.WriterOutputStream
- All Implemented Interfaces:
 Closeable, Flushable, AutoCloseable
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).
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionWriterOutputStream(Writer writer) WriterOutputStream(Writer writer, String encoding)  - 
Method Summary
Methods inherited from class OutputStream
nullOutputStream 
- 
Field Details
- 
_writer
 - 
_encoding
 
 - 
 - 
Constructor Details
- 
WriterOutputStream
 - 
WriterOutputStream
 
 - 
 - 
Method Details
- 
close
- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Overrides:
 closein classOutputStream- Throws:
 IOException
 - 
flush
- Specified by:
 flushin interfaceFlushable- Overrides:
 flushin classOutputStream- Throws:
 IOException
 - 
write
- Overrides:
 writein classOutputStream- Throws:
 IOException
 - 
write
- Overrides:
 writein classOutputStream- Throws:
 IOException
 - 
write
- Specified by:
 writein classOutputStream- Throws:
 IOException
 
 -