| Constructor and Description |
|---|
VCard.Address() |
VCard.Address(boolean preferred,
boolean home,
boolean work,
boolean postal,
boolean parcel,
boolean international,
String postOfficeBox,
String extendedAddress,
String street,
String city,
String region,
String postalCode,
String country)
Creates a address with all possible values.
|
VCard.Address(String street,
String city,
String postalCode,
String country)
Creates a postal home address (marked as preferred).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCity()
Gets the city.
|
String |
getCountry()
Gets the country.
|
String |
getExtendedAddress()
Gets the extended address.
|
String |
getPostalCode()
Gets the postal code.
|
String |
getPostOfficeBox()
Gets the post office box.
|
String |
getRegion()
Gets the region.
|
String |
getStreet()
Gets the street.
|
void |
setCity(String city)
Sets the city.
|
void |
setCountry(String country)
Sets the country.
|
void |
setExtendedAddress(String extendedAddress)
Sets the extended address.
|
void |
setPostalCode(String postalCode)
Sets the postal code.
|
void |
setPostOfficeBox(String postOfficeBox)
Sets the post office box.
|
void |
setRegion(String region)
Sets the region.
|
void |
setStreet(String street)
Sets the street.
|
public VCard.Address()
public VCard.Address(boolean preferred,
boolean home,
boolean work,
boolean postal,
boolean parcel,
boolean international,
String postOfficeBox,
String extendedAddress,
String street,
String city,
String region,
String postalCode,
String country)
preferred - True, if this is the preferred address.home - If this is a home address.work - If it is a work address.postal - If it is a postal address.parcel - If it is a parcel address.international - If it is a international address.postOfficeBox - The post office box.extendedAddress - The extended address.street - The street.city - The city.region - The region.postalCode - The postal code.country - The country.public String getPostOfficeBox()
setPostOfficeBox(String)public void setPostOfficeBox(String postOfficeBox)
postOfficeBox - The post office box.getPostOfficeBox()public String getExtendedAddress()
setExtendedAddress(String)public void setExtendedAddress(String extendedAddress)
extendedAddress - The extended address.getExtendedAddress()public String getStreet()
setStreet(String)public void setStreet(String street)
street - The street.getStreet()public String getCity()
setCity(String)public void setCity(String city)
city - The city.getCity()public String getRegion()
setRegion(String)public void setRegion(String region)
region - The region.getRegion()public String getPostalCode()
setPostalCode(String)public void setPostalCode(String postalCode)
postalCode - The postal code.getPostalCode()public String getCountry()
setCountry(String)public void setCountry(String country)
country - The country.getCountry()Copyright © 2014–2015 XMPP.rocks. All rights reserved.