Java org.apache.commons.compress.compressors.gzip GzipCompressorInputStream fields, constructors, methods, implement or subclass

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

Introduction

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

The text is from its open source code.

Constructor

GzipCompressorInputStream(InputStream inputStream)
Constructs a new GZip compressed input stream by the referenced InputStream.

Method

voidclose()
Closes the input stream (unless it is System.in).
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 gzip file.
intread(byte[] b)
intread(byte[] b, int from, int length)