@Nullable fun getDefaultString(key: String): String?
(source)
Get a default value from this configuration as a string.
key
- A configuration key (e.g. "server.address.hostname"
).
InvalidConfigurationPropertyTypeException
- If the default value is not a string.
Return
The value, or null if no default was available.