abstract fun getString(key: String): String
(source)
Get a string from this configuration.
key
- A configuration key (e.g. "server.address.hostname"
).
IllegalArgumentException
- If the key cannot be parsed.
InvalidConfigurationPropertyTypeException
- If the value is not a string.
NoConfigurationPropertyException
- If the key was not set in the configuration.
Return
The value.