| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
countryCode |
private java.lang.String |
countryName |
private java.lang.String |
name |
private int |
placeCode |
private java.lang.String |
placeName |
private static long |
serialVersionUID |
private java.lang.String |
url |
private int |
woeid |
| Constructor and Description |
|---|
LocationJSONImpl(JSONObject location) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static ResponseList<Location> |
createLocationList(HttpResponse res,
Configuration conf) |
(package private) static ResponseList<Location> |
createLocationList(JSONArray list,
boolean storeJSON) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCountryCode() |
java.lang.String |
getCountryName() |
java.lang.String |
getName() |
int |
getPlaceCode() |
java.lang.String |
getPlaceName() |
java.lang.String |
getURL() |
int |
getWoeid() |
int |
hashCode() |
java.lang.String |
toString() |
private static final long serialVersionUID
private final int woeid
private final java.lang.String countryName
private final java.lang.String countryCode
private final java.lang.String placeName
private final int placeCode
private final java.lang.String name
private final java.lang.String url
LocationJSONImpl(JSONObject location) throws TwitterException
TwitterExceptionstatic ResponseList<Location> createLocationList(HttpResponse res, Configuration conf) throws TwitterException
TwitterExceptionstatic ResponseList<Location> createLocationList(JSONArray list, boolean storeJSON) throws TwitterException
TwitterExceptionpublic java.lang.String getCountryName()
getCountryName in interface Locationpublic java.lang.String getCountryCode()
getCountryCode in interface Locationpublic java.lang.String getPlaceName()
getPlaceName in interface Locationpublic int getPlaceCode()
getPlaceCode in interface Locationpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object