public class VCFPercentEncodedTextTransformer extends java.lang.Object implements VCFTextTransformer
| Constructor and Description |
|---|
VCFPercentEncodedTextTransformer() |
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.String |
decodePercentEncodedChars(java.lang.String rawText)
Transform input strings containing embedded percent=encoded characters.
|
java.util.List<java.lang.String> |
decodeText(java.util.List<java.lang.String> rawParts)
Transform a list of strings, replacing % encoded values with their corresponding text in each string.
|
java.lang.String |
decodeText(java.lang.String rawPart)
Transform a single string, replacing % encoded values with their corresponding text.
|
public java.lang.String decodeText(java.lang.String rawPart)
decodeText in interface VCFTextTransformerrawPart - the raw string to be decodedTribbleException - if the the encoding is uninterpretablepublic java.util.List<java.lang.String> decodeText(java.util.List<java.lang.String> rawParts)
decodeText in interface VCFTextTransformerrawParts - a list of raw stringsTribbleException - if the the encoding is uninterpretableprotected static java.lang.String decodePercentEncodedChars(java.lang.String rawText)
rawText - a string containing zero or more embedded encodingsTribbleException - if the the encoding is uninterpretable