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