Package org.apache.poi.util
Class CloseIgnoringInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.apache.poi.util.CloseIgnoringInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class CloseIgnoringInputStream extends java.io.FilterInputStream
A wrapper around anInputStream
, which ignores close requests made to it. Useful withPOIFSFileSystem
, where you want to control the close yourself.
-
-
Constructor Summary
Constructors Constructor Description CloseIgnoringInputStream(java.io.InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
-
-