Package org.codehaus.commons.io
Class MultiReader
java.lang.Object
java.io.Reader
org.codehaus.commons.io.MultiReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
Similar to
FilterReader
, but when the first delegate is at end-of-input, it continues
with reading from the next delegate.
This Reader
does not support MARK.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, ready, reset, transferTo
-
Constructor Details
-
MultiReader
-
MultiReader
-
-
Method Details
-
close
Closes all delegates.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classReader
- Throws:
IOException
-
read
- Overrides:
read
in classReader
- Throws:
IOException
-
skip
- Overrides:
skip
in classReader
- Throws:
IOException
-
read
- Specified by:
read
in classReader
- Throws:
IOException
-