Closeable, AutoCloseablepublic class CompositeInputStream extends InputStream
| Constructor | Description |
|---|---|
CompositeInputStream(InputStream... inputStreams) |
|
CompositeInputStream(Collection<InputStream> inputStreams) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
This method closes all provided
inputStreams. |
int |
read() |
available, mark, markSupported, read, read, readAllBytes, readNBytes, reset, skip, transferTopublic CompositeInputStream(InputStream... inputStreams)
public CompositeInputStream(Collection<InputStream> inputStreams)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
inputStreams.close in interface AutoCloseableclose in interface Closeableclose in class InputStreamIOExceptionCopyright © 2017–2018 PureSol Technologies. All rights reserved.