Class CloseIgnoringInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.poi.util.CloseIgnoringInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class CloseIgnoringInputStream extends FilterInputStream
A wrapper around an InputStream, which ignores close requests made to it. Useful with POIFSFileSystem, where you want to control the close yourself.