public class DemuxOutputStream extends OutputStream
| 构造器和说明 |
|---|
DemuxOutputStream() |
| 限定符和类型 | 方法和说明 |
|---|---|
OutputStream |
bindStream(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.
|
write, writepublic OutputStream bindStream(OutputStream output)
output - the stream to bindpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 OutputStreamIOException - if an error occurspublic void flush()
throws IOException
flush 在接口中 Flushableflush 在类中 OutputStreamIOException - if an error occurspublic void write(int ch)
throws IOException
write 在类中 OutputStreamch - the byte to write to streamIOException - if an error occurs