public class ConcatInputStream extends InputStream
InputStreams.| Constructor and Description |
|---|
ConcatInputStream(Producer<? extends InputStream> delegates,
boolean closeStreams) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
mark, markSupported, read, resetpublic ConcatInputStream(Producer<? extends InputStream> delegates, boolean closeStreams)
delegates - A null product means 'end-of-input'closeStreams - Whether to close each delegate input stream right after its data has been readpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionCopyright © 2018 Arno Unkrig. All rights reserved.