|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttwitter4j.GeoQuery
public final class GeoQuery
| Field Summary | |
|---|---|
static String |
CITY
|
static String |
NEIGHBORHOOD
|
| Constructor Summary | |
|---|---|
GeoQuery(GeoLocation location)
Creates a GeoQuery with the specified location |
|
GeoQuery(String ip)
Creates a GeoQuery with the specified IP address |
|
| Method Summary | |
|---|---|
GeoQuery |
accuracy(String accuracy)
|
boolean |
equals(Object o)
|
String |
getAccuracy()
|
String |
getGranularity()
|
String |
getIp()
|
GeoLocation |
getLocation()
|
int |
getMaxResults()
|
GeoQuery |
granularity(String granularity)
|
int |
hashCode()
|
GeoQuery |
maxResults(int maxResults)
|
void |
setAccuracy(String accuracy)
Sets a hint on the "region" in which to search. |
void |
setGranularity(String granularity)
Sets the minimal granularity of data to return. |
void |
setMaxResults(int maxResults)
Sets a hint as to the number of results to return. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String NEIGHBORHOOD
public static final String CITY
| Constructor Detail |
|---|
public GeoQuery(GeoLocation location)
location - public GeoQuery(String ip)
ip - IP address| Method Detail |
|---|
public GeoLocation getLocation()
public String getIp()
public String getAccuracy()
public void setAccuracy(String accuracy)
accuracy - a hint on the "region" in which to search.public GeoQuery accuracy(String accuracy)
public String getGranularity()
public void setGranularity(String granularity)
granularity - the minimal granularity of data to returnpublic GeoQuery granularity(String granularity)
public int getMaxResults()
public void setMaxResults(int maxResults)
maxResults - A hint as to the number of results to return.public GeoQuery maxResults(int maxResults)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||