final class SwitchableInputStream
extends java.io.FilterInputStream
FilterInputStream which allows a user to change the underlying
stream at any time.| Constructor and Description |
|---|
SwitchableInputStream()
Creates a new instance without initializing the reference to the
underlying stream.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
switchStream(java.io.InputStream in)
Creates a new instance with the initial reference to the underlying
stream.
|