public class InflaterFactory
extends java.lang.Object
Inflater
objects used by BlockGunzipper
.
This class may be extended to provide alternative inflaters (e.g., for improved performance).
The default implementation returns a JDK Inflater
Constructor and Description |
---|
InflaterFactory() |
Modifier and Type | Method and Description |
---|---|
java.util.zip.Inflater |
makeInflater(boolean gzipCompatible)
Returns an inflater object that will be used when reading DEFLATE compressed files.
|
public java.util.zip.Inflater makeInflater(boolean gzipCompatible)
Inflater
gzipCompatible
- if true then use GZIP compatible compression