public class BAMDecoderOptions
extends java.lang.Object
| Constructor and Description |
|---|
BAMDecoderOptions() |
| Modifier and Type | Method and Description |
|---|---|
InflaterFactory |
getInflaterFactory()
Get the
InflaterFactory used for these options. |
boolean |
isAsyncIO()
Determine if async IO is enabled for these options.
|
boolean |
isValidateCRCChecksums()
Determine whether validation of CRC checksums is enabled for these options.
|
BAMDecoderOptions |
setAsyncIO(boolean asyncIO)
Set whether async IO is enable for these options.
|
BAMDecoderOptions |
setInflaterFactory(InflaterFactory inflaterFactory)
Set the
InflaterFactory to use for these options. |
BAMDecoderOptions |
setValidateCRCChecksums(boolean validateCRCChecksums)
Set whether validation of CRC checksums should be enabled for these options.
|
public InflaterFactory getInflaterFactory()
InflaterFactory used for these options. Defaults to
BlockGunzipper.getDefaultInflaterFactory().InflaterFactory used for these optionspublic BAMDecoderOptions setInflaterFactory(InflaterFactory inflaterFactory)
InflaterFactory to use for these options. Defaults value is
BlockGunzipper.getDefaultInflaterFactory().inflaterFactory - inflater factory to usepublic boolean isAsyncIO()
Defaults.USE_ASYNC_IO_READ_FOR_SAMTOOLS.public BAMDecoderOptions setAsyncIO(boolean asyncIO)
Defaults.USE_ASYNC_IO_READ_FOR_SAMTOOLS.asyncIO - true if async IO should be used, otherwise falsepublic boolean isValidateCRCChecksums()
public BAMDecoderOptions setValidateCRCChecksums(boolean validateCRCChecksums)
validateCRCChecksums - true to enable CRC validation, otherwise false