@Nullable open fun get(dottedKey: String!): Any?
(source)
Get a value from the TOML document.
dottedKey
- String!: 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
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.
path
- MutableList<String!>!: The key path.
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.