So we don't have to build a geocoder wrapper around every new API. Here is a generic interface to geocoding services.
<repositories>
<repository>
<id>scottbyrns-snapshots</id>
<url>https://github.com/scottbyrns/Scottbyrns-Maven-Repo/raw/master/snapshots</url>
</repository>
</repositories><dependency>
<groupId>com.scottbyrns.geocoder</groupId>
<artifactId>Utility</artifactId>
<version>1.0.4-SNAPSHOT</version>
</dependency>Simply create a Geocoder and ask it to getTheGeoLocationOf a PhysicalAddress.
GeoLocation location = Geocoder.getTheLocationOf(new PhysicalAddress());This will return the location of the provided PhysicalAddress.
location.getLatitude();
location.getLongitude();and to look up a location use NOT YET IMPLEMENTED
Geocoder.getTheAddressOf(new GeoLocation());