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