|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.poi.YahooGazetteer
public class YahooGazetteer
A gazetteer that uses Yahoo's geocoding service to find locations for requested places.
| Field Summary | |
|---|---|
protected static java.lang.String |
GEOCODE_SERVICE
|
| Constructor Summary | |
|---|---|
YahooGazetteer()
|
|
| Method Summary | |
|---|---|
java.util.List<PointOfInterest> |
findPlaces(java.lang.String lookupString)
Find places identified in a string of free text. |
protected java.util.ArrayList<PointOfInterest> |
parseLocationString(java.lang.String locationString)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String GEOCODE_SERVICE
| Constructor Detail |
|---|
public YahooGazetteer()
| Method Detail |
|---|
public java.util.List<PointOfInterest> findPlaces(java.lang.String lookupString)
throws NoItemException,
ServiceException
Gazetteer
findPlaces in interface GazetteerlookupString - a string containing the place description.
NoItemException - if the place description cannot be matched.
ServiceException - if the lookup service is not available or invocation of it fails.
protected java.util.ArrayList<PointOfInterest> parseLocationString(java.lang.String locationString)
throws WWRuntimeException
WWRuntimeException
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||