Class UncloseableInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class UncloseableInputStream
    extends FilterInputStream
    A wrapper for an input stream to avoid allowing libraries to close input streams unexpectedly using the close() method. Instead, they must be closed by the creator using doClose().
    Author:
    Peter Ansell