tuweni / org.apache.tuweni.toml / TomlTable / get

get

@Nullable open fun get(dottedKey: String!): Any? (source)

Get a value from the TOML document.

Parameters

dottedKey - String!: A dotted key (e.g. "server.address.port").

Exceptions

IllegalArgumentException - If the key cannot be parsed.

TomlInvalidTypeException - If any element of the path preceding the final key is not a table.

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

@Nullable abstract fun get(path: MutableList<String!>!): Any? (source)

Get a value from the TOML document.

Parameters

path - MutableList<String!>!: The key path.

Exceptions

TomlInvalidTypeException - If any element of the path preceding the final key is not a table.

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