Package htsjdk.samtools.util.zip
Class InflaterFactory
java.lang.Object
htsjdk.samtools.util.zip.InflaterFactory
Factory for
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmakeInflater
(boolean gzipCompatible) Returns an inflater object that will be used when reading DEFLATE compressed files.
-
Constructor Details
-
InflaterFactory
public InflaterFactory()
-
-
Method Details
-
makeInflater
Returns an inflater object that will be used when reading DEFLATE compressed files. Subclasses may override to provide their own inflater implementation. The default implementation returns a JDKInflater
- Parameters:
gzipCompatible
- if true then use GZIP compatible compression
-