public class DemuxInputStream extends InputStream
| Constructor and Description | 
|---|
DemuxInputStream()  | 
| Modifier and Type | Method and Description | 
|---|---|
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 DemuxInputStream()
public InputStream bindStream(InputStream input)
input - the stream to bindpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOException - if an error occurspublic int read() throws IOException
read in class InputStreamIOException - if an error occursCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.