tuweni / org.apache.tuweni.config / Configuration / get

get

@Nullable abstract fun get(key: String!): Any? (source)

Get an object from this configuration.

Parameters

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

Exceptions

IllegalArgumentException - If the key cannot be parsed.

Return
Any?: The value, or null if no value was set in the configuration.