Class DontCloseInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    @Deprecated
    public class DontCloseInputStream
    extends FilterInputStream
    Deprecated.
    Please use NoCloseInputStream instead
    Wraps an InputStream to protect it from close calls. This is useful for at least GZIPInputStream where the native resources of the GZIPInputStream need to be released using the close call while the underlying stream is left intact.
    Author:
    AO Industries, Inc.
    • Constructor Detail

      • DontCloseInputStream

        public DontCloseInputStream​(InputStream in)
        Deprecated.