Class NonCloseableInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.nifi.stream.io.NonCloseableInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class NonCloseableInputStream extends FilterInputStream
Wraps and InputStream so that the underlying InputStream cannot be closed. This is used so that the InputStream can be wrapped with yet another InputStream and prevent the outer layer from closing the inner InputStream