Class InputStreamWithCloseIgnore

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.commons.io.input.ProxyInputStream
net.sansa_stack.io.util.InputStreamWithCloseIgnore
All Implemented Interfaces:
Closeable, AutoCloseable

public class InputStreamWithCloseIgnore extends org.apache.commons.io.input.ProxyInputStream
A wrapper whose close() method is a noop. In contrast to CloseShieldInputStream this class' read method will not indicate EOF after close.
  • Constructor Details

    • InputStreamWithCloseIgnore

      public InputStreamWithCloseIgnore(InputStream proxy)
      Constructs a new ProxyInputStream.
      Parameters:
      proxy - the InputStream to delegate to
  • Method Details