public class WriterOutputStream extends OutputStream
Writer. In a sense, this class
is the complement of the OutputStreamWriter.| Constructor and Description |
|---|
WriterOutputStream(Writer delegate) |
WriterOutputStream(Writer delegate,
Charset charset) |
WriterOutputStream(Writer delegate,
CharsetDecoder decoder) |
WriterOutputStream(Writer delegate,
String charsetName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(byte[] buf,
int off,
int len) |
void |
write(int b) |
writepublic WriterOutputStream(Writer delegate)
WriterOutputStreampublic WriterOutputStream(Writer delegate, String charsetName)
WriterOutputStreampublic WriterOutputStream(Writer delegate, Charset charset)
WriterOutputStreampublic WriterOutputStream(Writer delegate, CharsetDecoder decoder)
WriterOutputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void write(byte[] buf,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2018 Arno Unkrig. All rights reserved.