Package org.eclipse.jetty.io
Class WriterOutputStream
java.lang.Object
java.io.OutputStream
org.eclipse.jetty.io.WriterOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
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).
-
Constructor Summary
ConstructorsConstructorDescriptionWriterOutputStream(Writer writer) Deprecated.WriterOutputStream(Writer writer, String encoding) Deprecated. -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
WriterOutputStream
Deprecated. -
WriterOutputStream
Deprecated.
-
-
Method Details
-
close
Deprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
flush
Deprecated.- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
write
Deprecated.- Overrides:
writein classOutputStream- Throws:
IOException
-
write
Deprecated.- Overrides:
writein classOutputStream- Throws:
IOException
-
write
Deprecated.- Specified by:
writein classOutputStream- Throws:
IOException
-