public class ConfigSettings extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigSettings.SettingType |
Modifier and Type | Method and Description |
---|---|
void |
dumpSettings() |
boolean |
getBooleanValue(String name)
Returns the setting value as boolean value
|
double |
getDoubleValue(String name)
Returns the setting value as double value
|
static ConfigSettings |
getInstance()
Returns the one and only instance of this class
|
int |
getIntValue(String name)
Returns the setting value as int value
|
String |
getStringValue(String name)
Returns the setting value as String value
|
static void |
setPropertiesFile(String fileName) |
public static ConfigSettings getInstance()
public static void setPropertiesFile(String fileName)
public void dumpSettings()
public int getIntValue(String name)
name
- Setting namepublic double getDoubleValue(String name)
name
- Setting namepublic String getStringValue(String name)
name
- Setting namepublic boolean getBooleanValue(String name)
name
- Setting nameCopyright © 2019. All rights reserved.