Spring Social Twitter

org.springframework.social.twitter.api
Class GeoCode

java.lang.Object
  extended by org.springframework.social.twitter.api.GeoCode

public class GeoCode
extends java.lang.Object

Represents geo_code parameter used for advanced search


Nested Class Summary
static class GeoCode.Unit
           
 
Constructor Summary
GeoCode(double latitude, double longitude, int radius)
          Creates GeoCode object with the default unit of measure is Unit.KILOMETER
GeoCode(double latitude, double longitude, int radius, GeoCode.Unit unit)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeoCode

public GeoCode(double latitude,
               double longitude,
               int radius)
Creates GeoCode object with the default unit of measure is Unit.KILOMETER

Parameters:
latitude -
longitude -
radius -

GeoCode

public GeoCode(double latitude,
               double longitude,
               int radius,
               GeoCode.Unit unit)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Spring Social Twitter