public class DemuxInputStream extends InputStream
| Constructor and Description |
|---|
DemuxInputStream() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
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.
|
available, mark, markSupported, read, read, reset, skippublic 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–2021 The Apache Software Foundation. All rights reserved.