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