Package | Description |
---|---|
fr.tikione.ini |
Provides main classes to work with INI files.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.clone()
Creates and returns a copy of this
Config object. |
Config |
Config.enableParseLineConcat(boolean enable)
Enable conversion of backslash at end of line to line concatenation when parsing the INI content.
|
Config |
Config.enableReadEnvShortcuts(boolean enable)
Enable recognition and following of environment variable shortcuts when getting a key value.
|
Config |
Config.enableReadSeckeyShortcuts(boolean enable)
Enable recognition and following of section/key shortcuts when getting a key value.
|
Config |
Config.enableReadSysShortcuts(boolean enable)
Enable recognition and following of system property shortcuts when getting a key value.
|
Config |
Config.enableReadUnicodeEscConv(boolean enable)
Enable conversion of Unicode escapes to UTF8 when getting a key value.
|
Config |
Ini.getConfig()
Get the configuration
Config object. |
Modifier and Type | Method and Description |
---|---|
void |
Ini.checkContent(Config config)
Try to get all keys values of all sections, in order to throw an exception if a critical error is detected.
|
protected java.lang.String |
Ini.getKeyValue(int loop,
java.lang.String defval,
java.lang.String section,
java.lang.String key,
Config config,
boolean raw)
Get key value from the INI content.
|
java.lang.String |
Ini.getKeyValue(java.lang.String section,
java.lang.String key,
Config config)
Get key value from the INI content.
|
java.lang.String |
Ini.getKeyValue(java.lang.String defVal,
java.lang.String section,
java.lang.String key,
Config config)
Get key value from the INI content.
|
java.util.Map<java.lang.String,java.lang.String> |
Ini.getSectionValues(java.lang.String section,
Config config)
Get a
Map of all keys and values of a section. |
void |
Ini.setConfig(Config config)
Set the configuration
Config object. |
Constructor and Description |
---|
Config(Config config)
Create a new instance of
Config by copy. |