public class WriterOutputStream extends OutputStream
| Constructor and Description |
|---|
WriterOutputStream(Writer writer,
String encoding)
Creates a new WriterOutputStream
|
public 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 - 2016 Adobe Systems Incorporated. All Rights Reserved"