org.jboss.marshalling
Class InputStreamByteInput
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.jboss.marshalling.InputStreamByteInput
- All Implemented Interfaces:
- Closeable, ByteInput
public class InputStreamByteInput
- extends FilterInputStream
- implements ByteInput
An InputStream implementing ByteInput which reads input from another InputStream.
Usually the Marshalling.createInputStream(ByteInput) method should be used to create instances because
it can detect when the target already extends InputStream.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputStreamByteInput
public InputStreamByteInput(InputStream inputStream)
- Construct a new instance.
- Parameters:
inputStream - the input stream to read from
Copyright © 2011 JBoss, a division of Red Hat, Inc.