Class DontCloseOutputStream

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.aoapps.hodgepodge.io.DontCloseOutputStream
All Implemented Interfaces:
NoClose, Closeable, Flushable, AutoCloseable

@Deprecated public class DontCloseOutputStream extends FilterOutputStream implements NoClose
Deprecated.
Please use NoCloseOutputStream instead
Wraps an OutputStream to protect it from close calls. This is useful for at least GZIPOutputStream where the native resources of the GZIPOutputStream need to be released using the close call while the underlying stream is left intact.
Author:
AO Industries, Inc.