Class CloseShieldFilterInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.commons.compress.utils.CloseShieldFilterInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

@Deprecated public class CloseShieldFilterInputStream extends FilterInputStream
Deprecated.
Use CloseShieldInputStream.
Re-implements FilterInputStream.close() to do nothing.
Since:
1.14
  • Constructor Details

    • CloseShieldFilterInputStream

      public CloseShieldFilterInputStream(InputStream in)
      Deprecated.
      Creates a CloseShieldFilterInputStream by assigning the argument in to the field this.in so as to remember it for later use.
      Parameters:
      in - the underlying input stream, or null if this instance is to be created without an underlying stream.
  • Method Details