Closeable
, AutoCloseable
public 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, transferTo
public CompositeInputStream(InputStream... inputStreams)
public CompositeInputStream(Collection<InputStream> inputStreams)
public int read() throws IOException
read
in class InputStream
IOException
public void close() throws IOException
inputStreams
.close
in interface AutoCloseable
close
in interface Closeable
close
in class InputStream
IOException
Copyright © 2017–2018 PureSol Technologies. All rights reserved.