public class DeflaterFactory extends Object
Deflater objects used by BlockCompressedOutputStream.
This class may be extended to provide alternative deflaters (e.g., for improved performance).| Constructor | Description |
|---|---|
DeflaterFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
Deflater |
makeDeflater(int compressionLevel,
boolean gzipCompatible) |
Returns a deflater object that will be used when writing BAM files.
|
public Deflater makeDeflater(int compressionLevel, boolean gzipCompatible)
compressionLevel - the compression level (0-9)gzipCompatible - if true then use GZIP compatible compression