|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream com.isti.util.WriterOutputStream
Class WriterOutputStream converts a 'Writer' to an 'OutputStream'.
Field Summary | |
protected java.io.Writer |
writerObj
|
Constructor Summary | |
WriterOutputStream(java.io.Writer writerObj)
Creates a 'Writer' to 'OutputStream' converter. |
Method Summary | |
void |
close()
Closes the stream. |
void |
flush()
Flushes the stream. |
void |
write(byte[] data)
Writes the given data array. |
void |
write(byte[] data,
int start,
int len)
Writes the given section of the given array. |
void |
write(int ch)
Writes a character. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final java.io.Writer writerObj
Constructor Detail |
public WriterOutputStream(java.io.Writer writerObj)
writerObj
- the source 'Writer' object.Method Detail |
public void write(int ch) throws java.io.IOException
ch
- character
java.io.IOException
public void write(byte[] data) throws java.io.IOException
data
- data array
java.io.IOException
public void write(byte[] data, int start, int len) throws java.io.IOException
data
- data arraystart
- start indexlen
- length
java.io.IOException
public void flush() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |