Class MultipleInputStream

java.lang.Object
java.io.InputStream
it.unimi.dsi.io.MultipleInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class MultipleInputStream
extends InputStream
A multiple input stream.

Instances of this class encapsulate a sequence of input streams. When one of the streams is exhausted, the multiple stream behaves as if on an end of file. However, after calling reset() the stream is again readable, and positioned at the start of the following stream.