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, skip
public InputStream bindStream(InputStream input)
input
- the stream to bindpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
- if an error occurspublic int read() throws IOException
read
in class InputStream
IOException
- if an error occursCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.