Module io.annot8.components.geo
Class EnrichWithGeoNames.Settings
- java.lang.Object
-
- io.annot8.components.geo.processors.EnrichWithGeoNames.Settings
-
- All Implemented Interfaces:
io.annot8.api.settings.Settings
- Enclosing class:
- EnrichWithGeoNames
public static class EnrichWithGeoNames.Settings extends Object implements io.annot8.api.settings.Settings
-
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilegetGeonamesFile()GeoNamesAdditionalPropertiesgetProperties()booleanisGeoJson()voidsetGeoJson(boolean geoJson)voidsetGeonamesFile(File geonamesFile)voidsetProperties(GeoNamesAdditionalProperties properties)booleanvalidate()
-
-
-
Method Detail
-
validate
public boolean validate()
- Specified by:
validatein interfaceio.annot8.api.settings.Settings
-
getGeonamesFile
@Description("Location of the GeoNames data file") public File getGeonamesFile()
-
setGeonamesFile
public void setGeonamesFile(File geonamesFile)
-
getProperties
@Description(value="Which fields from the GeoNames data should be added to annotations", defaultValue="BASIC") public GeoNamesAdditionalProperties getProperties()
-
setProperties
public void setProperties(GeoNamesAdditionalProperties properties)
-
isGeoJson
@Description(value="Add GeoJSON to the annotation", defaultValue="true") public boolean isGeoJson()
-
setGeoJson
public void setGeoJson(boolean geoJson)
-
-