Class ClosedReader

java.lang.Object
java.io.Reader
org.apache.commons.io.input.ClosedReader
All Implemented Interfaces:
Closeable, AutoCloseable, Readable

public class ClosedReader extends Reader
Always returns IOUtils.EOF to all attempts to read something from it.

Typically uses of this class include testing for corner cases in methods that accept readers and acting as a sentinel value instead of a null reader.

Since:
2.7