|
Oracle | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
com.compoze.util.WriterOutputStream
public class WriterOutputStream
This class is an OutputStream that writes data to an underlying Writer. Bytes are converted to characters by creating a character with the most significant byte equal to zero.
| Constructor Summary | |
|---|---|
WriterOutputStream(java.io.Writer writer)
Constructor. |
|
| Method Summary | |
|---|---|
void |
write(byte[] b)
Write an array of bytes to the underlying writer. |
void |
write(byte[] b,
int iOffset,
int iLength)
Write an array of bytes to the underlying writer. |
void |
write(int i)
Write an int to the underlying writer. |
| Methods inherited from class java.io.OutputStream |
|---|
close, flush |
| 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 underlying writer| Method Detail |
|---|
public void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamb - the array to write
java.io.IOException - if an i/o error occurred
public void write(byte[] b,
int iOffset,
int iLength)
throws java.io.IOException
write in class java.io.OutputStreamb - the array to write
java.io.IOException - if an i/o error occurred
public void write(int i)
throws java.io.IOException
write in class java.io.OutputStreami - the integer to write
java.io.IOException - if an i/o error occurred
|
Oracle | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||