Java java.io SequenceInputStream fields, constructors, methods, implement or subclass

Example usage for Java java.io SequenceInputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.io SequenceInputStream.

The text is from its open source code.

Constructor

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.
SequenceInputStream(Enumeration e)
Initializes a newly created SequenceInputStream by remembering the argument, which must be an Enumeration that produces objects whose run-time type is InputStream.

Method

intavailable()
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.
voidclose()
Closes this input stream and releases any system resources associated with the stream.
intread()
Reads the next byte of data from this input stream.
intread(byte b[], int off, int len)
Reads up to len bytes of data from this input stream into an array of bytes.