Interface GeoEntryCreator


public interface GeoEntryCreator
A GeoEntryCreator provides methods for creating GeoEntry objects from various GeoNames data formats.
  • Method Details

    • createGeoEntry

      GeoEntry createGeoEntry(String line, String entryResource)
      Creates a GeoEntry from a String representing a GeoNames entry.
      Parameters:
      line - a String that represents one GeoNames entry
      entryResource - resource name that represents the source of the geonames entry (e.g. file)
      Returns:
      a GeoEntry object that represents the GeoNames entry in the String