@Nullable open fun get(dottedKey: String): Any?
(source)
Get a value from the TOML document.
dottedKey
- A dotted key (e.g. "server.address.port"
).
IllegalArgumentException
- If the key cannot be parsed.
TomlInvalidTypeException
- If any element of the path preceding the final key is not a table.
Return
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.
TomlInvalidTypeException
- If any element of the path preceding the final key is not a table.
Return
The value, or null
if no value was set in the TOML document.