Class NonClosingReader

All Implemented Interfaces:
Closeable, AutoCloseable, Readable

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

    • NonClosingReader

      public NonClosingReader(@NonNull Reader aSourceReader)
      Parameters:
      aSourceReader - The reader to be wrapped. May not be null.
  • Method Details