config / org.apache.tuweni.config / Schema / getDefaultString

getDefaultString

@Nullable fun getDefaultString(key: String): String? (source)

Get a default value from this configuration as a string.

Parameters

key - A configuration key (e.g. "server.address.hostname").

Exceptions

InvalidConfigurationPropertyTypeException - If the default value is not a string.

Return
The value, or null if no default was available.