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