Class UncloseableInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.eclipse.rdf4j.common.io.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