public final class SaperionIniSettings extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
getBooleanSetting(String section,
String entry,
boolean defaultValue)
Loads a boolean setting from the INI files.
|
static int |
getIntSetting(String section,
String entry,
int defaultValue)
Loads an int setting from the INI files.
|
static String |
getSetting(String section,
String entry,
String defaultValue)
Loads a setting from the INI files.
|
public static boolean getBooleanSetting(String section, String entry, boolean defaultValue)
section
- the name of the section that contains the setting (without tenant-ID).entry
- the name of the entry in the sectiondefaultValue
- default value returned when the setting does not exist or if the setting
could not be read because of an errorpublic static int getIntSetting(String section, String entry, int defaultValue)
section
- the name of the section that contains the setting (without tenant-ID).entry
- the name of the entry in the sectiondefaultValue
- default value returned when the setting does not exist or if the setting
could not be read because of an errorpublic static String getSetting(String section, String entry, String defaultValue)
section
- the name of the section that contains the setting (without tenant-ID).entry
- the name of the entry in the sectiondefaultValue
- default value returned when the setting does not exist or if the setting
could not be read because of an errorCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.