Package com.calclab.emite.xep.vcard

Examples of com.calclab.emite.xep.vcard.VCardAddress


  @Test
  public void shouldParseAddress() {
    final List<VCardAddress> addresses = vCard.getAddresses();
    assertEquals(2, addresses.size());
    final VCardAddress first = addresses.get(0);
    assertTrue(first.hasPlace(VCardAddress.Place.WORK));
    assertEquals("1899 Wynkoop Street", first.getData(VCardAddress.Data.STREET));
  }
View Full Code Here

TOP

Related Classes of com.calclab.emite.xep.vcard.VCardAddress

Copyright © 2018 www.massapicom. 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.