* @param vcard
* @throws VCardParseException
*/
private void parseSortStringType(String group, String value, List<ParameterType> paramTypeList, VCardImpl vcard) throws VCardParseException {
try {
SortStringType sortStringType = new SortStringType();
parseParamTypes(sortStringType, paramTypeList, value, VCardTypeName.SORT_STRING);
if(sortStringType.isQuotedPrintable()) {
value = decodeQuotedPrintableValue(sortStringType, value);
}
if(group != null) {
sortStringType.setGroup(group);
}
sortStringType.setSortString(VCardUtils.unescapeString(value));
vcard.setSortString(sortStringType);
}
catch(Exception ex) {
throw new VCardParseException("SortStringType ("+VCardTypeName.SORT_STRING.getType()+") ["+ex.getClass().getName()+"] "+ex.getMessage(), ex);
}