Class GeoNamesGazetteer.Settings

  • All Implemented Interfaces:
    io.annot8.api.settings.Settings
    Enclosing class:
    GeoNamesGazetteer

    public static class GeoNamesGazetteer.Settings
    extends Object
    implements io.annot8.api.settings.Settings
    • Constructor Detail

      • Settings

        public Settings()
    • Method Detail

      • validate

        public boolean validate()
        Specified by:
        validate in interface io.annot8.api.settings.Settings
      • isCaseSensitive

        @Description(value="Only annotate matches with the same case as the data file",
                     defaultValue="true")
        public boolean isCaseSensitive()
      • setCaseSensitive

        public void setCaseSensitive​(boolean caseSensitive)
      • isGeoJson

        @Description(value="Add GeoJSON to the annotation",
                     defaultValue="true")
        public boolean isGeoJson()
      • setGeoJson

        public void setGeoJson​(boolean geoJson)
      • getGeonamesFile

        @Description("Location of the GeoNames data file")
        public File getGeonamesFile()
      • setGeonamesFile

        public void setGeonamesFile​(File geonamesFile)
      • getSubType

        @Description("Sub-type to assign to annotations, or null")
        public String getSubType()
      • setSubType

        public void setSubType​(String subType)
      • getMinimumPopulation

        @Description("Entries in GeoNames under this size will be excluded")
        public int getMinimumPopulation()
      • setMinimumPopulation

        public void setMinimumPopulation​(int minimumPopulation)