Package org.qubership.profiler.io
Class InputStreamNoCloseAdapter
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.qubership.profiler.io.InputStreamNoCloseAdapter
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
ConstructorsConstructorDescriptionCreates aFilterInputStreamby assigning the argumentinto the fieldthis.inso as to remember it for later use. -
Method Summary
Methods 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
-
InputStreamNoCloseAdapter
Creates aFilterInputStreamby assigning the argumentinto the fieldthis.inso as to remember it for later use.- Parameters:
in- the underlying input stream, ornullif this instance is to be created without an underlying stream.
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException
-