public class SequenceInputStream
extends java.io.InputStream
| Constructor and Description | 
|---|
SequenceInputStream(java.io.InputStream s1,
                   java.io.InputStream s2)
Construct the SequenceInputStream. 
 | 
SequenceInputStream(java.util.List<java.io.InputStream> e)
Construct the SequenceInputStream. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addStream(java.io.InputStream in)  | 
int | 
available()  | 
void | 
close()  | 
int | 
read()  | 
int | 
read(byte[] b,
    int off,
    int len)  | 
public SequenceInputStream(java.util.List<java.io.InputStream> e)
e - a list of InputStreams to concatpublic SequenceInputStream(java.io.InputStream s1,
                           java.io.InputStream s2)
s1 - s2 - public void addStream(java.io.InputStream in)
public int read()
         throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionInputStream.read()public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionInputStream.read(byte[], int, int)public int available()
              throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionInputStream.available()public void close()
           throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionInputStream.close()Copyright © 2021. All Rights Reserved.