open fun getTableOrEmpty(dottedKey: String): TomlTable
(source)
Get a table from the TOML document.
dottedKey
- A dotted key (e.g. "server.address.port"
).
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
The value, or an empty table if no value was set in the TOML document.
open fun getTableOrEmpty(path: MutableList<String>): TomlTable
(source)
Get a table from the TOML document.
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
The value, or an empty table if no value was set in the TOML document.