Package com.helger.commons.io.stream
Class NonClosingReader
java.lang.Object
java.io.Reader
java.io.FilterReader
com.helger.commons.io.stream.WrappedReader
com.helger.commons.io.stream.NonClosingReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
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
-
Field Summary
Fields inherited from class java.io.FilterReader
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.helger.commons.io.stream.WrappedReader
getWrappedReader, toStringMethods inherited from class java.io.FilterReader
mark, markSupported, read, read, ready, reset, skipMethods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
Constructor Details
-
NonClosingReader
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterReader
-