Package org.xj3d.io

Class SequenceReader

java.lang.Object
java.io.Reader
org.xj3d.io.SequenceReader
All Implemented Interfaces:
Closeable, AutoCloseable, Readable

public class SequenceReader extends Reader
Represents the logical concatenation of other readers.

The standard java.io package does not provide this capability so this class does the same as SequenceInputStream except for Reader derived classes.

It starts out with an ordered collection of input streams and reads from the first one until end of file is reached,whereupon it reads from the second one, and so on, until end of file is reached on the last of the contained input streams.

Version:
$Revision: 1.1 $
Author:
Justin Couch