? DemuxOutputStream
java.lang.Object
java.io.OutputStream
org.apache.commons.io.output.DemuxOutputStream
- ????????:
Closeable
,Flushable
,AutoCloseable
Forwards data to a stream that has been associated with this thread.
-
?????
??? -
????
??????????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.??????? java.io.OutputStream
nullOutputStream, write, write
-
???????
-
DemuxOutputStream
public DemuxOutputStream()
-
-
??????
-
bindStream
Binds the specified stream to the current thread.- ??:
output
- the stream to bind- ??:
- the OutputStream that was previously active
-
close
Closes stream associated with current thread.- ???:
close
????AutoCloseable
- ???:
close
????Closeable
- ??:
close
???OutputStream
- ??:
IOException
- if an error occurs
-
flush
Flushes stream associated with current thread.- ???:
flush
????Flushable
- ??:
flush
???OutputStream
- ??:
IOException
- if an error occurs
-
write
Writes byte to stream associated with current thread.- ???:
write
???OutputStream
- ??:
ch
- the byte to write to stream- ??:
IOException
- if an error occurs
-