public interface GeocoderService
GeocoderService
capable of resolving an address string to actual coordinates.Modifier and Type | Method and Description |
---|---|
GeocoderConfiguration |
getConfiguration()
Returns configuration of the
GeocoderService . |
String |
getId()
A unique identifier for this
GeocoderService . |
GeocoderResult |
resolveAddress(String address)
Resolves the given address string to valid coordinates.
|
void |
validateConfiguration(Map<String,Object> properties)
Validates the provided configuration properties.
|
String getId()
GeocoderService
.GeocoderService
.GeocoderResult resolveAddress(String address) throws GeocoderConfigurationException
Coordinates
but that makes it hard to distinguish
if there was no valid address or an exception occurred.address
- The address to resolveGeocoderException
GeocoderConfigurationException
GeocoderConfiguration getConfiguration()
GeocoderService
.void validateConfiguration(Map<String,Object> properties) throws GeocoderConfigurationException
properties
- to validateGeocoderConfigurationException
- in case the configuration is invalid.Copyright © 2021. All rights reserved.