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 and Description |
|---|
DeflaterFactory() |
| Modifier and Type | Method and Description |
|---|---|
Deflater |
makeDeflater(int compressionLevel,
boolean nowrap)
Returns a deflater object that will be used when writing BAM files.
|
public Deflater makeDeflater(int compressionLevel, boolean nowrap)
compressionLevel - the compression level (0-9)nowrap - if true then use GZIP compatible compression