public class OutputStreamWriter
extends java.io.Writer
| Constructor and Description |
|---|
OutputStreamWriter(java.io.OutputStream outputStream) |
OutputStreamWriter(java.io.OutputStream outputStream,
java.lang.String charsetName) |
public OutputStreamWriter(java.io.OutputStream outputStream)
public OutputStreamWriter(java.io.OutputStream outputStream,
java.lang.String charsetName)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Writerjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.Writerjava.io.IOExceptionpublic java.lang.String getEncoding()
public void write(char[] chars,
int offset,
int length)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void write(int c)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void write(java.lang.String string,
int offset,
int length)
throws java.io.IOException
write in class java.io.Writerjava.io.IOException