Class java.io.InputStreamSequence
All Packages This Package Previous Next
Class java.io.InputStreamSequence
java.lang.Object
|
+----java.io.InputStream
|
+----java.io.InputStreamSequence
-
public class
InputStreamSequence
-
extends InputStream
Converts a sequence of input streams into an InputStream
-
InputStreamSequence(Enumeration)
-
Constructor
-
InputStreamSequence(InputStream, InputStream)
-
-
close()
-
Closes the input stream.
-
read()
-
Reads, upon reaching an EOF, flips to the next stream.
-
read(byte[], int, int)
-
Reads, upon reaching an EOF, flips to the next stream.
InputStreamSequence
public InputStreamSequence(Enumeration e)
-
Constructor
InputStreamSequence
public InputStreamSequence(InputStream s1,
InputStream s2)
read
public int read()
-
Reads, upon reaching an EOF, flips to the next stream.
-
Overrides:
-
read in class InputStream
read
public int read(byte buf[],
int pos,
int len)
-
Reads, upon reaching an EOF, flips to the next stream.
-
Overrides:
-
read in class InputStream
close
public void close()
-
Closes the input stream.
-
Overrides:
-
close in class InputStream
All Packages This Package Previous Next