public class DemuxInputStream extends InputStream
| 构造器和说明 |
|---|
DemuxInputStream() |
| 限定符和类型 | 方法和说明 |
|---|---|
InputStream |
bindStream(InputStream input)
Bind the specified stream to the current thread.
|
void |
close()
Closes stream associated with current thread.
|
int |
read()
Read byte from stream associated with current thread.
|
available, mark, markSupported, read, read, reset, skippublic InputStream bindStream(InputStream input)
input - the stream to bindpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 InputStreamIOException - if an error occurspublic int read()
throws IOException
read 在类中 InputStreamIOException - if an error occurs