Package org.jboss.marshalling
Class InputStreamByteInput
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.jboss.marshalling.InputStreamByteInput
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,ByteInput
public class InputStreamByteInput extends java.io.FilterInputStream implements ByteInput
AnInputStream
implementingByteInput
which reads input from anotherInputStream
. Usually theMarshalling.createInputStream(ByteInput)
method should be used to create instances because it can detect when the target already extendsInputStream
.
-
-
Constructor Summary
Constructors Constructor Description InputStreamByteInput(java.io.InputStream inputStream)
Construct a new instance.
-
Method Summary
-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-