|
JBoss STDIO 1.0.0.CR1 | ||||||||
| 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(java.io.Writer writer)
Construct a new instance using the default charset. |
|
WriterOutputStream(java.io.Writer writer,
java.nio.charset.Charset charset)
Construct a new instance using the given charset. |
|
WriterOutputStream(java.io.Writer writer,
java.nio.charset.CharsetDecoder decoder)
Construct a new instance using the given charset decoder. |
|
WriterOutputStream(java.io.Writer writer,
java.lang.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(java.io.Writer writer)
writer - the writer to write to
public WriterOutputStream(java.io.Writer writer,
java.lang.String charsetName)
writer - the writer to write tocharsetName - the charset name
public WriterOutputStream(java.io.Writer writer,
java.nio.charset.Charset charset)
writer - the writer to write tocharset - the charset
public WriterOutputStream(java.io.Writer writer,
java.nio.charset.CharsetDecoder decoder)
writer - the writer to write todecoder - the charset decoder| Method Detail |
|---|
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOException
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOException
|
JBoss STDIO 1.0.0.CR1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||