public String getSimpleLocation(Address address) {
		StringBuilder builder = new StringBuilder();
		String locality = address.getLocality();
		String countryName = address.getCountryName();
		
		if(!StringUtils.isEmpty(locality)) {
			builder.append(locality);
		}
		else if(!StringUtils.isEmpty(countryName)) {
			builder.append(countryName);
		}
		
		return builder.toString();
	}
public String getSimpleLocation(Address address) {
		StringBuilder builder = new StringBuilder();
		String locality = address.getLocality();
		String countryName = address.getCountryName();
		
		if(!StringUtils.isEmpty(locality)) {
			builder.append(locality);
		}
		else if(!StringUtils.isEmpty(countryName)) {
			builder.append(countryName);
		}
		
		return builder.toString();
	}
public String getSimpleLocation ( Address address ) { StringBuilder builder = new StringBuilder ( ) ; String locality = address . getLocality ( ) ; String countryName = address . getCountryName ( ) ; if ( ! StringUtils . isEmpty ( locality ) ) { builder . append ( locality ) ; } else if ( ! StringUtils . isEmpty ( countryName ) ) { builder . append ( countryName ) ; } return builder . toString ( ) ; }
Returns a simple one-line address based on city and country
@param address
@return
Returns a simple one - line address based on city and country