Java org.apache.commons.compress.compressors.bzip2 BZip2CompressorInputStream fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.compress.compressors.bzip2 BZip2CompressorInputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.compress.compressors.bzip2 BZip2CompressorInputStream.

The text is from its open source code.

Subclass

org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream has subclasses.
Click this link to see all its subclasses.

Constructor

BZip2CompressorInputStream(final InputStream in)
Constructs a new BZip2CompressorInputStream which decompresses bytes read from the specified stream.

Method

voidclose()
longgetBytesRead()
Returns the current number of bytes read from this stream.
booleanmatches(byte[] signature, int length)
Checks if the signature matches what is expected for a bzip2 file.
intread(byte b[])
Reads some number of bytes from the input stream and stores them into the buffer array b.
intread(final byte[] dest, final int offs, final int len)
intread()