public class SequenceInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
SequenceInputStream(java.io.InputStream... in) |
SequenceInputStream(java.util.List<java.io.InputStream> inputStreams) |
SequenceInputStream(java.util.List<java.io.InputStream> inputStreams,
int streamSwitchValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] buffer,
int off,
int len) |
java.lang.String |
toString() |
public SequenceInputStream(java.io.InputStream... in)
public SequenceInputStream(java.util.List<java.io.InputStream> inputStreams)
public SequenceInputStream(java.util.List<java.io.InputStream> inputStreams,
int streamSwitchValue)
public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buffer,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object