Class NullImplementation.NullWriter

  • All Implemented Interfaces:
    Closeable, Flushable, Appendable, AutoCloseable
    Enclosing class:
    NullImplementation

    public static class NullImplementation.NullWriter
    extends Writer
    A writer 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:
    cp 2000.08.02