Modifier and Type | Method and Description |
---|---|
String |
getFileName()
Gets the file name.
|
boolean |
isEnabled()
Is Geo Ip enabled?
|
void |
setEnabled(boolean enabled)
Sets enabled flag.
|
void |
setFileName(String fileName)
Sets the name of the Maxmind GeoCityIP city file.
|
void setEnabled(boolean enabled) throws ConfigException
enabled
- false to disable GeoIpConfigException
- if unable to set the propertyboolean isEnabled()
void setFileName(String fileName) throws ConfigException
If not explicitly set, it is assumed that it is in the issued location ("data/GeoLite2-City.mmdb").
fileName
- the file nameConfigException
- if unable to set the propertyString getFileName()
Copyright © 2022 Push Technology Ltd. All Rights Reserved.