public interface Gazetteer
Modifier and Type | Method and Description |
---|---|
List<PointOfInterest> |
findPlaces(String placeInfo)
Find places identified in a string of free text.
|
List<PointOfInterest> findPlaces(String placeInfo) throws NoItemException, ServiceException
placeInfo
- 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.