jd.io
Class OutputStreamWriter
java.lang.Object
java.io.Writer
jd.io.OutputStreamWriter
- public class OutputStreamWriter
- extends Writer
An OutputStreamWriter like java.io.OutputStreamWriter but with the
possibility to provide a custom CharToByteConverter.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputStreamWriter
public OutputStreamWriter(OutputStream out,
CharToByteConverter ctb)
getEncoding
public String getEncoding()
write
public void write(int c)
throws IOException
- Throws:
IOException
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- Throws:
IOException
write
public void write(String str,
int off,
int len)
throws IOException
- Throws:
IOException
flushBuffer
void flushBuffer()
throws IOException
- Throws:
IOException
flush
public void flush()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException