|
Compoze Software, Inc. | |||||||||
| 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
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
b - 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
b - the array to write
java.io.IOException - if an i/o error occurred
public void write(int i)
throws java.io.IOException
i - the integer to write
java.io.IOException - if an i/o error occurred
|
Compoze Software, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||