public class DemuxOutputStream extends java.io.OutputStream
| Constructor | Description |
|---|---|
DemuxOutputStream() |
| Modifier and Type | Method | Description |
|---|---|---|
java.io.OutputStream |
bindStream(java.io.OutputStream output) |
Binds the specified stream to the current thread.
|
void |
close() |
Closes stream associated with current thread.
|
void |
flush() |
Flushes stream associated with current thread.
|
void |
write(int ch) |
Writes byte to stream associated with current thread.
|
public DemuxOutputStream()
public java.io.OutputStream bindStream(java.io.OutputStream output)
output - the stream to bindpublic void close() throws java.io.IOException
close in class java.io.OutputStreamjava.io.IOException - if an error occurspublic void flush() throws java.io.IOException
flush in class java.io.OutputStreamjava.io.IOException - if an error occurspublic void write(int ch) throws java.io.IOException
write in class java.io.OutputStreamch - the byte to write to streamjava.io.IOException - if an error occurs