GeoNames Java API main classes.

## Webservice Code Examples

### geonames full text search

Code Example :

      ToponymSearchCriteria searchCriteria = new ToponymSearchCriteria();
      searchCriteria.setQ("zurich");
      ToponymSearchResult searchResult = WebService.search(searchCriteria);
      for (Toponym toponym : searchResult.toponyms) {
         System.out.println(toponym.getName()+" "+ toponym.getCountryName());
      }

### Reverse Geocoding - find next postal codes for given latitude and longitude

Code Example :

      PostalCodeSearchCriteria postalCodeSearchCriteria = new PostalCodeSearchCriteria();
      postalCodeSearchCriteria.setLatitude(37.373636);
      postalCodeSearchCriteria.setLongitude(-121.972146);
      List<PostalCode> postalCodes = WebService.findNearbyPostalCodes(postalCodeSearchCriteria);