Class NonClosingInputStream

All Implemented Interfaces:
Closeable, AutoCloseable

public class NonClosingInputStream extends WrappedInputStream
A special InputStream that does not close the stream. This is e.g. helpful for reading from streams within a ZIP file.
Author:
Philip Helger
  • Constructor Details

    • NonClosingInputStream

      public NonClosingInputStream(@NonNull InputStream aSourceIS)
      Parameters:
      aSourceIS - The input stream to be wrapped. May not be null.
  • Method Details