Examples of TitleType


Examples of net.sourceforge.cardme.vcard.types.TitleType

   * @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);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.