public class OutputStreamWriter
extends Writer
Constructor and Description |
---|
OutputStreamWriter(OutputStream outputStream) |
OutputStreamWriter(OutputStream outputStream,
String charsetName) |
OutputStreamWriter(OutputStream outputStream,
String charsetName,
boolean autoFlush) |
OutputStreamWriter(OutputStream outputStream,
String charsetName,
int outputBufferSize) |
OutputStreamWriter(OutputStream outputStream,
String charsetName,
int outputBufferSize,
boolean autoFlush) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
String |
getEncoding() |
void |
write(char[] chars) |
void |
write(char[] chars,
int offset,
int length) |
void |
write(int c) |
void |
write(String string) |
void |
write(String string,
int offset,
int length) |
public OutputStreamWriter(OutputStream outputStream)
public OutputStreamWriter(OutputStream outputStream, String charsetName)
public OutputStreamWriter(OutputStream outputStream, String charsetName, boolean autoFlush)
public OutputStreamWriter(OutputStream outputStream, String charsetName, int outputBufferSize)
public OutputStreamWriter(OutputStream outputStream, String charsetName, int outputBufferSize, boolean autoFlush)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class Writer
IOException
public String getEncoding()
public void write(char[] chars) throws IOException
write
in class Writer
IOException
public void write(char[] chars, int offset, int length) throws IOException
write
in class Writer
IOException
public void write(int c) throws IOException
write
in class Writer
IOException
public void write(String string) throws IOException
write
in class Writer
IOException
public void write(String string, int offset, int length) throws IOException
write
in class Writer
IOException