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, 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 occursJas4pp 1.5 © Java Analysis Studio for Particle Physics