Class DisableOnCloseInputStream

java.lang.Object
java.io.InputStream
org.apache.nifi.controller.repository.io.DisableOnCloseInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class DisableOnCloseInputStream extends InputStream
Wraps an existing InputStream, so that when InputStream.close() is called, the underlying InputStream is NOT closed but this InputStream can no longer be written to