twitter4j
Class LocationJSONImpl
java.lang.Object
twitter4j.LocationJSONImpl
- All Implemented Interfaces:
- java.io.Serializable, Location
final class LocationJSONImpl
- extends java.lang.Object
- implements Location
- Author:
- Yusuke Yamamoto - yusuke at mac.com
Constructor Summary |
LocationJSONImpl(twitter4j.internal.org.json.JSONObject location)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
woeid
private final int woeid
countryName
private final java.lang.String countryName
countryCode
private final java.lang.String countryCode
placeName
private final java.lang.String placeName
placeCode
private final int placeCode
name
private final java.lang.String name
url
private final java.lang.String url
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
LocationJSONImpl
LocationJSONImpl(twitter4j.internal.org.json.JSONObject location)
throws TwitterException
- Throws:
TwitterException
createLocationList
static ResponseList<Location> createLocationList(twitter4j.internal.http.HttpResponse res,
Configuration conf)
throws TwitterException
- Throws:
TwitterException
createLocationList
static ResponseList<Location> createLocationList(twitter4j.internal.org.json.JSONArray list,
boolean storeJSON)
throws TwitterException
- Throws:
TwitterException
getWoeid
public int getWoeid()
-
- Specified by:
getWoeid
in interface Location
getCountryName
public java.lang.String getCountryName()
-
- Specified by:
getCountryName
in interface Location
getCountryCode
public java.lang.String getCountryCode()
-
- Specified by:
getCountryCode
in interface Location
getPlaceName
public java.lang.String getPlaceName()
-
- Specified by:
getPlaceName
in interface Location
getPlaceCode
public int getPlaceCode()
-
- Specified by:
getPlaceCode
in interface Location
getName
public java.lang.String getName()
-
- Specified by:
getName
in interface Location
getURL
public java.lang.String getURL()
-
- Specified by:
getURL
in interface Location
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object