public class ComboInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
private InputStream |
head |
private boolean |
headDone |
private InputStream |
tail |
| Constructor and Description |
|---|
ComboInputStream(InputStream head,
InputStream tail) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
mark, markSupported, read, reset, skipprivate boolean headDone
private InputStream head
private InputStream tail
public ComboInputStream(InputStream head, InputStream tail)
public int read() throws IOException
read in class InputStreamIOExceptionpublic int available() throws IOException
available in class InputStreamIOExceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int read(byte[] b, int off, int len) throws IOException
read in class InputStreamIOException