Class SlicedInputStream

All Implemented Interfaces:
Closeable, AutoCloseable

public abstract class SlicedInputStream extends InputStream
A SlicedInputStream is a logical concatenation one or more input streams. In contrast to the JDKs SequenceInputStream this stream doesn't require the instantiation of all logical sub-streams ahead of time. Instead, openSlice(int) is called if a new slice is required. Each slice is closed once it's been fully consumed or if close is called before.