public class DemuxInputStream extends java.io.InputStream
| Constructor and Description |
|---|
DemuxInputStream() |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
bindStream(java.io.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.
|
public DemuxInputStream()
public java.io.InputStream bindStream(java.io.InputStream input)
input - the stream to bindpublic void close() throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOException - if an error occurspublic int read() throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException - if an error occurs