Class TarElementInputStreamWrapper
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.BufferedInputStream
org.apache.camel.dataformat.tarfile.TarElementInputStreamWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable
Keeps a handle on the original
InputStream even after closing the buffered input stream.-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.BufferedInputStream
mark, markSupported, read, read, reset, skipMethods inherited from class java.io.FilterInputStream
readMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
TarElementInputStreamWrapper
-
TarElementInputStreamWrapper
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classBufferedInputStream- Throws:
IOException
-
available
- Overrides:
availablein classBufferedInputStream- Throws:
IOException
-