Class SwitchableInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.jboss.netty.handler.codec.serialization.SwitchableInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
FilterInputStream
which allows a user to change the underlying
stream at any time.-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance without initializing the reference to the underlying stream. -
Method Summary
Modifier and TypeMethodDescription(package private) void
Creates a new instance with the initial reference to the underlying stream.Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
-
Constructor Details
-
SwitchableInputStream
SwitchableInputStream()Creates a new instance without initializing the reference to the underlying stream.
-
-
Method Details
-
switchStream
Creates a new instance with the initial reference to the underlying stream.
-