Package org.tomlj
Interface TomlParseResult
- All Superinterfaces:
TomlTable
public interface TomlParseResult extends TomlTable
The result from parsing a TOML document.
-
Method Summary
Modifier and Type Method Description java.util.List<TomlParseError>
errors()
The errors that occurred during parsing.default boolean
hasErrors()
true
if the TOML document contained errors.Methods inherited from interface org.tomlj.TomlTable
contains, contains, dottedEntrySet, dottedEntrySet, dottedKeySet, dottedKeySet, entryPathSet, entryPathSet, entrySet, get, get, getArray, getArray, getArrayOrEmpty, getArrayOrEmpty, getBoolean, getBoolean, getBoolean, getBoolean, getDouble, getDouble, getDouble, getDouble, getLocalDate, getLocalDate, getLocalDate, getLocalDate, getLocalDateTime, getLocalDateTime, getLocalDateTime, getLocalDateTime, getLocalTime, getLocalTime, getLocalTime, getLocalTime, getLong, getLong, getLong, getLong, getOffsetDateTime, getOffsetDateTime, getOffsetDateTime, getOffsetDateTime, getString, getString, getString, getString, getTable, getTable, getTableOrEmpty, getTableOrEmpty, inputPositionOf, inputPositionOf, isArray, isArray, isBoolean, isBoolean, isDouble, isDouble, isEmpty, isLocalDate, isLocalDate, isLocalDateTime, isLocalDateTime, isLocalTime, isLocalTime, isLong, isLong, isOffsetDateTime, isOffsetDateTime, isString, isString, isTable, isTable, keyPathSet, keyPathSet, keySet, size, toJson, toJson, toJson, toJson, toMap, toToml, toToml
-
Method Details
-
hasErrors
default boolean hasErrors()true
if the TOML document contained errors.- Returns:
true
if the TOML document contained errors.
-
errors
java.util.List<TomlParseError> errors()The errors that occurred during parsing.- Returns:
- A list of errors.
-