Configuration file API - loading, parsing and access to variables.
Returns configuration variable value as String
.
Parameters:
key
Configuration variable name.
Returns:
Configuration variable value. Returns null, if variable not found.
getArray (key:String):Array<String>
Returns configuration variable value as an array of String
s.
The variable should be a comma-separated string.
Parameters:
key
Configuration variable name.
Returns:
Array of values. Returns null, if variable not found.
Returns configuration variable value as Bool
.
Parameters:
key
Configuration variable name.
Returns:
Configuration variable value. Returns false, if variable not found.
Returns configuration variable value as Int
.
Parameters:
key
Configuration variable name.
Returns:
Configuration variable value. Returns 0, if variable not found.