public class WriterOutputStream extends OutputStream
| Constructor and Description |
|---|
WriterOutputStream(Writer writer,
String encoding)
Creates a new WriterOutputStream
|
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
closepublic WriterOutputStream(Writer writer, String encoding) throws UnsupportedEncodingException
writer - the underlaying writerencoding - the character encodingUnsupportedEncodingExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOException"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"