JBoss Marshalling 1.3.0.CR9

Class InputStreamByteInput

  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by 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.

Field Summary
Fields inherited from class java.io.FilterInputStream
Constructor Summary
InputStreamByteInput(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.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.marshalling.ByteInput
available, read, read, read, skip
Methods inherited from interface java.io.Closeable

Constructor Detail


public InputStreamByteInput(InputStream inputStream)
Construct a new instance.

inputStream - the input stream to read from

JBoss Marshalling 1.3.0.CR9

Copyright © 2011 JBoss, a division of Red Hat, Inc.