Package htsjdk.samtools.util.zip
Class InflaterFactory
- java.lang.Object
-
- htsjdk.samtools.util.zip.InflaterFactory
-
public class InflaterFactory extends Object
Factory forInflater
objects used byBlockGunzipper
. This class may be extended to provide alternative inflaters (e.g., for improved performance). The default implementation returns a JDKInflater
-
-
Constructor Summary
Constructors Constructor Description InflaterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Inflater
makeInflater(boolean gzipCompatible)
Returns an inflater object that will be used when reading DEFLATE compressed files.
-
-
-
Method Detail
-
makeInflater
public Inflater makeInflater(boolean gzipCompatible)
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
-
-