Package org.apache.commons.compress.utils

# 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

- ## Field Summary

  ### Fields inherited from class java.io.FilterInputStream

  `in`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `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.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  Deprecated.

  ### Methods inherited from class java.io.FilterInputStream

  `available, mark, markSupported, read, read, read, reset, skip`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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

  - ### close

    public void close() throws IOException
    Deprecated.
    Specified by:
      `close` in interface `AutoCloseable`
    Specified by:
      `close` in interface `Closeable`
    Overrides:
      `close` in class `FilterInputStream`
    Throws:
      `IOException`