Class CloseShieldFilterInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.apache.commons.compress.utils.CloseShieldFilterInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class CloseShieldFilterInputStream extends FilterInputStream
Re-implementsFilterInputStream.close()to do nothing.- Since:
- 1.14
-
-
Constructor Summary
Constructors Constructor Description CloseShieldFilterInputStream(InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()-
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
CloseShieldFilterInputStream
public CloseShieldFilterInputStream(InputStream in)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException
-
-