Class DontCloseOutputStream

All Implemented Interfaces:
NoClose, Closeable, Flushable, AutoCloseable

@Deprecated public class DontCloseOutputStream extends FilterOutputStream implements NoClose
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.
AO Industries, Inc.