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(twitter4j.internal.org.json.JSONObject location) |
Modifier and Type | Method and Description |
---|---|
(package private) static ResponseList<Location> |
createLocationList(twitter4j.internal.http.HttpResponse res) |
(package private) static ResponseList<Location> |
createLocationList(twitter4j.internal.org.json.JSONArray list) |
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 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
private static final long serialVersionUID
LocationJSONImpl(twitter4j.internal.org.json.JSONObject location) throws TwitterException
TwitterException
static ResponseList<Location> createLocationList(twitter4j.internal.http.HttpResponse res) throws TwitterException
TwitterException
static ResponseList<Location> createLocationList(twitter4j.internal.org.json.JSONArray list) throws TwitterException
TwitterException
public java.lang.String getCountryName()
getCountryName
in interface Location
public java.lang.String getCountryCode()
getCountryCode
in interface Location
public java.lang.String getPlaceName()
getPlaceName
in interface Location
public int getPlaceCode()
getPlaceCode
in interface Location
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object