Class UncloseableStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class UncloseableStream
    extends InputStream
    This class exists to handle outside dependencies which close a stream when we don't want to. It takes a stream, and simply forwards the call to all of its methods, except for the close() method - which does nothing.