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, pushedBackBytes
Methods 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:
read
in classInputStream
- Throws:
IOException
-
read
Read the data from read(). This makes sure we funnel through read so we can do our multistream magic.- Overrides:
read
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-