public class TwitterLocation extends java.lang.Object
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <location> <name>lHdCSiSbZJNbSvaxFyfQukIHEifhdIXfvdMRgmotsvgXiBsFCLiyVDwzQOATspSU</name> <latitude>-67.0</latitude> <longitude>-179.0</longitude> </location>
Constructor and Description |
---|
TwitterLocation() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getLatitude() |
java.lang.Double |
getLongitude() |
java.lang.String |
getName() |
static TwitterLocation |
getTwitterLocation(twitter4j.GeoLocation location) |
static TwitterLocation |
getTwitterLocation(java.lang.String location) |
void |
setLatitude(java.lang.Double latitude) |
void |
setLongitude(java.lang.Double longitude) |
void |
setName(java.lang.String name) |
public TwitterLocation()
public static TwitterLocation getTwitterLocation(java.lang.String location)
location
- public static TwitterLocation getTwitterLocation(twitter4j.GeoLocation location)
location
- public java.lang.String getName()
setName(String)
public void setName(java.lang.String name)
name
- the name to setgetName()
public java.lang.Double getLatitude()
setLatitude(Double)
public void setLatitude(java.lang.Double latitude)
latitude
- the latitude to setgetLatitude()
public java.lang.Double getLongitude()
setLongitude(Double)
public void setLongitude(java.lang.Double longitude)
longitude
- the longitude to setgetLongitude()
Copyright © 2015 Tampere University of Technology, Pori Department.