getRawString

open override fun getRawString(key: String, defaultValue: String?): String?

Returns the value associated with the given key, or the default value if the key is not found. If the key is not found and the default value is not null, the key-value pair will be added to the properties and saved to the file.

Return

the value associated with the key, or the default value if not found

Parameters

key

the key to look up

defaultValue

the default value to return if the key is not found