Example usage for org.apache.commons.beanutils Address setCountry

List of usage examples for org.apache.commons.beanutils Address setCountry

Introduction

In this page you can find the example usage for org.apache.commons.beanutils Address setCountry.

Prototype

public void setCountry(String country) 

Source Link

Usage

From source file:org.sipfoundry.sipxconfig.phonebook.PhonebookGoogleEntryHelper.java

private void extractPostalAddress(Address phonebookAddress, StructuredPostalAddress addressGmail) {
    phonebookAddress.setCity(getGDataValue(addressGmail, CITY));
    phonebookAddress.setCountry(getGDataValue(addressGmail, COUNTRY));
    phonebookAddress.setState(getGDataValue(addressGmail, REGION));
    phonebookAddress.setStreet(getGDataValue(addressGmail, STREET));
    phonebookAddress.setZip(getGDataValue(addressGmail, POSTCODE));
}