|
JBoss STDIO 1.0.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
org.jboss.stdio.WriterOutputStream
public class WriterOutputStream
An output stream which decodes into a writer.
Constructor Summary | |
---|---|
WriterOutputStream(Writer writer)
Construct a new instance using the default charset. |
|
WriterOutputStream(Writer writer,
Charset charset)
Construct a new instance using the given charset. |
|
WriterOutputStream(Writer writer,
CharsetDecoder decoder)
Construct a new instance using the given charset decoder. |
|
WriterOutputStream(Writer writer,
String charsetName)
Construct a new instance using the named charset. |
Method Summary | |
---|---|
void |
close()
|
void |
flush()
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
Methods inherited from class java.io.OutputStream |
---|
write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WriterOutputStream(Writer writer)
writer
- the writer to write topublic WriterOutputStream(Writer writer, String charsetName)
writer
- the writer to write tocharsetName
- the charset namepublic WriterOutputStream(Writer writer, Charset charset)
writer
- the writer to write tocharset
- the charsetpublic WriterOutputStream(Writer writer, CharsetDecoder decoder)
writer
- the writer to write todecoder
- the charset decoderMethod Detail |
---|
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in class OutputStream
IOException
|
JBoss STDIO 1.0.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |