Package org.jivesoftware.smackx.vcardtemp.packet

Examples of org.jivesoftware.smackx.vcardtemp.packet.VCard.load()


  // Unfortunately the Smack API doesn't specify what concretely happens, if a vCard doesn't exist, yet.
  // It could be just an empty vCard or an XMPPException thrown.
  private boolean vCardExists() throws XMPPException {
      try {
            VCard vcard = new VCard();
            vcard.load(this.connection);
           
            // Best effort check to see if the vcard already exists.
            if (Util.fixEmpty(vcard.getNickName()) != null) {
                return true;
            }
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.