Package com.adobe.internal.io
Class ChainedInputStream
- java.lang.Object
-
- java.io.InputStream
-
- com.adobe.internal.io.ChainedInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class ChainedInputStream extends InputStream
A wrapper stream representing multiple underlying streams as a single stream.
-
-
Constructor Summary
Constructors Constructor Description ChainedInputStream(InputStream[] streams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()voidclose()intread()-
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
ChainedInputStream
public ChainedInputStream(InputStream[] streams)
-
-
Method Detail
-
read
public int read() throws IOException- Specified by:
readin classInputStream- Throws:
IOException
-
available
public int available() throws IOException- Overrides:
availablein classInputStream- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
-