Class UncloseableOutputStream

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.bouncycastle.util.test.UncloseableOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class UncloseableOutputStream extends FilterOutputStream
This is a testing utility class to check the property that an OutputStream is never closed in some particular context - typically when wrapped by another OutputStream that should not be forwarding its OutputStream.close() calls. Not needed in production code.