open fun getTableOrEmpty(dottedKey: String!): TomlTable!
(source)
Get a table from the TOML document.
dottedKey
- String!: 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
TomlTable!: 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.
path
- MutableList<String!>!: The key path.
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 an empty table if no value was set in the TOML document.