|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.code.geocoder.GeoAddressService
public class GeoAddressService
This class is used as service class. this class used for searching for geo location points by address which represented as string
| Constructor Summary | |
|---|---|
GeoAddressService()
|
|
GeoAddressService(Geocoder geocoder)
|
|
| Method Summary | |
|---|---|
GeocoderResult |
getAddress(String address)
This method receives address as string and returns GeocoderResult for the given address |
GeocoderResult |
getAddress(String address,
String ccTLD)
This method receives address as string input and country code top-level domain (ccTLD) that is used to indicate the region and returns GeocoderResult |
LatLng |
getLatLngPointsByAddress(String address)
This method receives address as string input and and returns a LatLng object which represents this address |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeoAddressService()
public GeoAddressService(Geocoder geocoder)
| Method Detail |
|---|
public GeocoderResult getAddress(String address)
throws IOException
GeoSearchableAddress
getAddress in interface GeoSearchableAddressaddress - being looked for
IOException
public GeocoderResult getAddress(String address,
String ccTLD)
throws IOException
GeoSearchableAddress
getAddress in interface GeoSearchableAddressaddress - being looked forccTLD - - country code top-level domain
IOException
public LatLng getLatLngPointsByAddress(String address)
throws IOException
GeoSearchableAddress
getLatLngPointsByAddress in interface GeoSearchableAddressIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||