Package htsjdk.variant.vcf
Class VCFPassThruTextTransformer
java.lang.Object
htsjdk.variant.vcf.VCFPassThruTextTransformer
- All Implemented Interfaces:
VCFTextTransformer
A no-op implementation of VCFTextTransformer for pre-v43 VCFs, when such encodings are not supported and
no transformation need be done.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecodeText
(String rawPart) No-op decoder for a single stringdecodeText
(List<String> rawParts) No-op decoder for lists of strings
-
Constructor Details
-
VCFPassThruTextTransformer
public VCFPassThruTextTransformer()
-
-
Method Details
-
decodeText
No-op decoder for a single string- Specified by:
decodeText
in interfaceVCFTextTransformer
- Parameters:
rawPart
- the raw string to be decoded- Returns:
- the raw string with no transformation done
-
decodeText
No-op decoder for lists of strings- Specified by:
decodeText
in interfaceVCFTextTransformer
- Parameters:
rawParts
- a list of raw strings- Returns:
- the list of raw strings with no transformations done
-