tuweni / org.apache.tuweni.toml / TomlTable / getTable

getTable

@Nullable open fun getTable(dottedKey: String!): TomlTable? (source)

Get a table from the TOML document.

Parameters

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

Exceptions

IllegalArgumentException - If the key cannot be parsed.

TomlInvalidTypeException - If the value is present but not a table, or any element of the path preceding the final key is not a table.

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

@Nullable open fun getTable(path: MutableList<String!>!): TomlTable? (source)

Get a table from the TOML document.

Parameters

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

Exceptions

TomlInvalidTypeException - If the value is present but not a table, or any element of the path preceding the final key is not a table.

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