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 encodingUnsupportedEncodingException
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"