Package org.kohsuke.stapler.framework.io
Class WriterOutputStream
java.lang.Object
java.io.OutputStream
org.kohsuke.stapler.framework.io.WriterOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
OutputStream
that writes to Writer
by assuming the platform default encoding.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
ConstructorDescriptionWriterOutputStream
(Writer out) WriterOutputStream
(Writer out, Charset charset) -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
WriterOutputStream
-
WriterOutputStream
-
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-