| Modifier and Type | Field and Description |
|---|---|
| private InheritableThreadLocal |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public OutputStream | Returns: the OutputStream that was previously activethe stream to bind output)Bind the specified stream to the current thread. |
| public void | close()
Overrides java. Implements java. |
| public void | flush()
Overrides java. Implements java. |
| private OutputStream | Returns: the output streamUtility method to retrieve stream bound to current thread (if any). |
| public void | write(int
the byte to write to stream ch)Implements abstract java. |
| m_streams | back to summary |
|---|---|
| private InheritableThreadLocal<T> m_streams | |
| DemuxOutputStream | back to summary |
|---|---|
| public DemuxOutputStream() | |
| bindStream | back to summary |
|---|---|
| public OutputStream bindStream(OutputStream output) 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.
| |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Overrides java. Implements java. Flushes stream associated with current thread.
| |
| getStream | back to summary |
|---|---|
| private OutputStream getStream() Utility method to retrieve stream bound to current thread (if any).
| |
| write | back to summary |
|---|---|
| public void write(int ch) throws IOException Implements abstract java. Writes byte to stream associated with current thread.
| |