| Modifier and Type | Field and Description |
|---|---|
| private InheritableThreadLocal |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public InputStream | Returns: the InputStream that was previously activethe stream to bind input)Bind the specified stream to the current thread. |
| public void | close()
Overrides java. Implements java. |
| private InputStream | Returns: the input streamUtility method to retrieve stream bound to current thread (if any). |
| public int | Returns: the byte read from streamImplements abstract java. |
| m_streams | back to summary |
|---|---|
| private InheritableThreadLocal<T> m_streams | |
| DemuxInputStream | back to summary |
|---|---|
| public DemuxInputStream() | |
| bindStream | back to summary |
|---|---|
| public InputStream bindStream(InputStream input) Bind the specified stream to the current thread.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Closes stream associated with current thread.
| |
| getStream | back to summary |
|---|---|
| private InputStream getStream() Utility method to retrieve stream bound to current thread (if any).
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements abstract java. Read byte from stream associated with current thread.
| |