php.java.script
Class OutputStreamWriter
java.lang.Object
java.io.OutputStream
php.java.script.DefaultCharsetOutputStreamWriter
php.java.script.OutputStreamWriter
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public final class OutputStreamWriter
- extends DefaultCharsetOutputStreamWriter
A PrintWriter backed by an OutputStream.
- Author:
- jostb
|
Method Summary |
void |
setEncoding(java.lang.String charsetName)
|
void |
write(byte[] b,
int off,
int len)
|
| Methods inherited from class java.io.OutputStream |
write |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputStreamWriter
public OutputStreamWriter(java.io.Writer out)
- Create a new PhpScriptWriter.
- Parameters:
out - The OutputStream
setEncoding
public void setEncoding(java.lang.String charsetName)
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Specified by:
write in class DefaultCharsetOutputStreamWriter
- Throws:
java.io.IOException