API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.io. SequenceInputStream View Source
Author(s)
Author van Hoff
Since
JDK1.0
Version
1.33, 06/07/06
Serial
Hierarchy
 Object
      InputStream
          SequenceInputStream
Implements
Subclasses
Description
public class SequenceInputStream
  A SequenceInputStream represents the logical concatenation of other input streams.
See also:   
Constructors
public SequenceInputStream (Enumeration<InputStream> e)
  Initializes a newly created SequenceInputStream by remembering the argument, which must be an Enumeration that produces objects whose run-time type is InputStream.
public SequenceInputStream (InputStream s1, InputStream s2)
  Initializes a newly created SequenceInputStream by remembering the two arguments, which will be read in order, first s1 and then s2, to provide the bytes to be read from this SequenceInputStream.
Methods
Hide/Show inherited methods
public int available () throws IOException [Overrides InputStream]
  Returns an estimate of the number of bytes that can be read (or skipped over) from the current underlying input stream without blocking by the next invocation of a method for the current underlying input stream.
public void close () throws IOException [Overrides InputStream]
  Closes this input stream and releases any system resources associated with the stream.
publicsynchronized void mark (int readlimit) [Inherited From InputStream]
  Marks the current position in this input stream.
public boolean markSupported () [Inherited From InputStream]
  Tests if this input stream supports the mark and reset methods.
pack-privatefinal void nextStream () throws IOException
Continues reading in the next stream if an EOF is reached.
public int read () throws IOException [Specified in InputStream]
  Reads the next byte of data from this input stream.
public int read (byte[] b) throws IOException [Inherited From InputStream]
  Reads some number of bytes from the input stream and stores them into the buffer array b.
public int read (byte[] b, int off, int len) throws IOException [Overrides InputStream]
  Reads up to len bytes of data from this input stream into an array of bytes.
publicsynchronized void reset () throws IOException [Inherited From InputStream]
  Repositions this stream to the position at the time the mark method was last called on this input stream.
public long skip (long n) throws IOException [Inherited From InputStream]
  Skips over and discards n bytes of data from this input stream.
Fields
Hide/Show inherited fields
pack-private Enumeration e
pack-private InputStream in
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar