? DemuxInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.io.input.DemuxInputStream
- ????????:
Closeable
,AutoCloseable
Data written to this stream is forwarded to a stream that has been associated with this thread.
-
?????
??? -
????
??????????bindStream
(InputStream input) Binds the specified stream to the current thread.void
close()
Closes stream associated with current thread.int
read()
Reads byte from stream associated with current thread.??????? java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
???????
-
DemuxInputStream
public DemuxInputStream()
-
-
??????
-
bindStream
Binds the specified stream to the current thread.- ??:
input
- the stream to bind- ??:
- the InputStream that was previously active
-
close
Closes stream associated with current thread.- ???:
close
????AutoCloseable
- ???:
close
????Closeable
- ??:
close
???InputStream
- ??:
IOException
- if an error occurs
-
read
Reads byte from stream associated with current thread.- ???:
read
???InputStream
- ??:
- the byte read from stream
- ??:
IOException
- if an error occurs
-