public class WriterOutputStream
extends OutputStream
Constructor and Description |
---|
WriterOutputStream(Writer writer) |
WriterOutputStream(Writer writer,
String charsetName) |
WriterOutputStream(Writer writer,
String charsetName,
boolean autoFlush) |
WriterOutputStream(Writer writer,
String charsetName,
int outputBufferSize) |
WriterOutputStream(Writer writer,
String charsetName,
int outputBufferSize,
boolean autoFlush) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
String |
getEncoding() |
void |
write(byte[] bytes) |
void |
write(byte[] bytes,
int offset,
int length) |
void |
write(int b) |
public WriterOutputStream(Writer writer)
public WriterOutputStream(Writer writer, String charsetName)
public WriterOutputStream(Writer writer, String charsetName, boolean autoFlush)
public WriterOutputStream(Writer writer, String charsetName, int outputBufferSize)
public WriterOutputStream(Writer writer, String charsetName, int outputBufferSize, boolean autoFlush)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public String getEncoding()
public void write(byte[] bytes) throws IOException
write
in class OutputStream
IOException
public void write(byte[] bytes, int offset, int length) throws IOException
write
in class OutputStream
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException