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