public class DeflaterFactory
extends java.lang.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 |
|---|---|
java.util.zip.Deflater |
makeDeflater(int compressionLevel,
boolean gzipCompatible)
Returns a deflater object that will be used when writing BAM files.
|
public java.util.zip.Deflater makeDeflater(int compressionLevel,
boolean gzipCompatible)
compressionLevel - the compression level (0-9)gzipCompatible - if true then use GZIP compatible compression