Class PersistentInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.sblim.cimclient.internal.http.io.PersistentInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
Class PersistentInputStream implements an input stream for which close() can
be disabled.
-
Field Summary
Fields inherited from class FilterInputStream
in
-
Constructor Summary
ConstructorsConstructorDescriptionPersistentInputStream
(InputStream pStream) Ctor.PersistentInputStream
(InputStream pStream, boolean pClosable) Ctor. -
Method Summary
Methods inherited from class FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
Methods inherited from class InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
PersistentInputStream
-
PersistentInputStream
Ctor.- Parameters:
pStream
- The underlying streampClosable
- Iffalse
this stream will ignore calls to the close() method.
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
- Throws:
IOException
-