Class NullImplementation.NullReader

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Readable
    Enclosing class:
    NullImplementation

    public static class NullImplementation.NullReader
    extends Reader
    A reader that does basically nothing. Note that multiple instances are required because the API dictates that the close method must cause further invocations to all other methods to throw an IOException.
    Author:
    jh 2012.03.28