Package com.helger.commons.io.stream
Class NonClosingInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.helger.commons.io.stream.WrappedInputStream
com.helger.commons.io.stream.NonClosingInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
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
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.helger.commons.io.stream.WrappedInputStream
getWrappedInputStream, toStringMethods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
NonClosingInputStream
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream
-