getString

open fun getString(property: String, defaultValue: String): String

Reads a string property.

Return

the property value, or defaultValue

Parameters

property

the property name

defaultValue

the value to return when the property is absent or is not a string