Class DisableOnCloseOutputStream

java.lang.Object
java.io.OutputStream
org.apache.nifi.controller.repository.io.DisableOnCloseOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

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