Class VCFPassThruTextTransformer

  • All Implemented Interfaces:
    VCFTextTransformer

    public class VCFPassThruTextTransformer
    extends Object
    implements VCFTextTransformer
    A no-op implementation of VCFTextTransformer for pre-v43 VCFs, when such encodings are not supported and no transformation need be done.
    • Constructor Detail

      • VCFPassThruTextTransformer

        public VCFPassThruTextTransformer()
    • Method Detail

      • decodeText

        public String decodeText​(String rawPart)
        No-op decoder for a single string
        Specified by:
        decodeText in interface VCFTextTransformer
        Parameters:
        rawPart - the raw string to be decoded
        Returns:
        the raw string with no transformation done
      • decodeText

        public List<String> decodeText​(List<String> rawParts)
        No-op decoder for lists of strings
        Specified by:
        decodeText in interface VCFTextTransformer
        Parameters:
        rawParts - a list of raw strings
        Returns:
        the list of raw strings with no transformations done