Class BZip2MultiInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.compress.compressors.CompressorInputStream
org.deltava.util.BZip2MultiInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
public class BZip2MultiInputStream
extends org.apache.commons.compress.compressors.CompressorInputStream
A stream to handle multi-stream BZip2 input streams.
- Since:
- 10.3
- Version:
- 10.3
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.compress.compressors.CompressorInputStream
count, count, getBytesRead, getCount, getUncompressedCount, pushedBackBytesMethods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
BZip2MultiInputStream
Creates the stream.- Parameters:
in- the InputStream- Throws:
IOException- if an I/O error occurs
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
Read the data from read(). This makes sure we funnel through read so we can do our multistream magic.- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-