Class UncloseableOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    public class UncloseableOutputStream
    extends FilterOutputStream
    A wrapper for an output stream to avoid allowing libraries to close output streams unexpectedly using the close() method. Instead, they must be closed by the creator using doClose().
    Author:
    Bart Hanssens