public class MultipartLocationName extends Object
MultipartLocationResolver
Container class representing a multipart location name, such as
what's often found in structured data like a spreadsheet or database
table, e.g., [Reston][Virginia][United States]. The names are stored
as three Strings.| Constructor and Description |
|---|
MultipartLocationName(String city,
String state,
String country)
Sole constructor for
MultipartLocationName class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Tests equivalence based on names of city, state, and country.
|
String |
getCity()
Get the text of the city name.
|
String |
getCountry()
Get the text of the country name.
|
String |
getState()
Get the text of the state/province/etc.
|
int |
hashCode() |
String |
toString()
For pretty-printing.
|
public MultipartLocationName(String city, String state, String country)
MultipartLocationName class.
Represents a multipart location name, such as what's often found
in structured data, e.g., [Reston][Virginia][United States].city - the text of the city name, e.g., "Reston"state - the text of the city/province/etc. name, e.g., "Virginia"country - the text of the country name, e.g., "United States"public boolean equals(Object obj)
public String toString()
public String getCity()
public String getState()
public String getCountry()
Copyright © 2012–2014 Berico Technologies. All rights reserved.