Package org.apache.commons.io.input
Class SequenceReader
java.lang.Object
java.io.Reader
org.apache.commons.io.input.SequenceReader
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Readable
Provides the contents of multiple 
Readers in sequence.
 
 Like SequenceInputStream but for Reader arguments.
 
- Since:
- 2.7
- 
Field Summary
- 
Constructor SummaryConstructorsConstructorDescriptionSequenceReader(Reader... readers) Constructs a new instance with readersSequenceReader(Iterable<? extends Reader> readers) Constructs a new instance with readers
- 
Method Summary
- 
Constructor Details- 
SequenceReaderConstructs a new instance with readers- Parameters:
- readers- the readers to read
 
- 
SequenceReaderConstructs a new instance with readers- Parameters:
- readers- the readers to read
 
 
- 
- 
Method Details- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Specified by:
- closein class- Reader
- Throws:
- IOException
 
- 
read- Overrides:
- readin class- Reader
- Throws:
- IOException
 
- 
read- Specified by:
- readin class- Reader
- Throws:
- IOException
 
 
-