Index
A C D E G H I J K L M O P S T V
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- ALL_VALUES_AS_STRINGS - org.tomlj.JsonOptions
-
Output all values as strings, rather than using integer, float or boolean values.
C
- canonicalDottedKey(String) - Static method in class org.tomlj.Toml
-
Get the canonical form of the dotted key.
- column() - Method in class org.tomlj.TomlPosition
-
The column number.
- contains(String) - Method in interface org.tomlj.TomlTable
-
Check if a key was set in the TOML document.
- contains(List<String>) - Method in interface org.tomlj.TomlTable
-
Check if a key was set in the TOML document.
- containsArrays() - Method in interface org.tomlj.TomlArray
-
Deprecated.Future releases will support heterogeneous arrays and this method will be removed.
- containsBooleans() - Method in interface org.tomlj.TomlArray
-
Deprecated.Future releases will support heterogeneous arrays and this method will be removed.
- containsDoubles() - Method in interface org.tomlj.TomlArray
-
Deprecated.Future releases will support heterogeneous arrays and this method will be removed.
- containsLocalDates() - Method in interface org.tomlj.TomlArray
-
Deprecated.Future releases will support heterogeneous arrays and this method will be removed.
- containsLocalDateTimes() - Method in interface org.tomlj.TomlArray
-
Deprecated.Future releases will support heterogeneous arrays and this method will be removed.
- containsLocalTimes() - Method in interface org.tomlj.TomlArray
-
Deprecated.Future releases will support heterogeneous arrays and this method will be removed.
- containsLongs() - Method in interface org.tomlj.TomlArray
-
Deprecated.Future releases will support heterogeneous arrays and this method will be removed.
- containsOffsetDateTimes() - Method in interface org.tomlj.TomlArray
-
Deprecated.Future releases will support heterogeneous arrays and this method will be removed.
- containsStrings() - Method in interface org.tomlj.TomlArray
-
Deprecated.Future releases will support heterogeneous arrays and this method will be removed.
- containsTables() - Method in interface org.tomlj.TomlArray
-
Deprecated.Future releases will support heterogeneous arrays and this method will be removed.
D
- dottedEntrySet() - Method in interface org.tomlj.TomlTable
-
Get all the dotted entries of this table.
- dottedEntrySet(boolean) - Method in interface org.tomlj.TomlTable
-
Get all the dotted entries of this table.
- dottedKeySet() - Method in interface org.tomlj.TomlTable
-
Get all the dotted keys of this table.
- dottedKeySet(boolean) - Method in interface org.tomlj.TomlTable
-
Get all the dotted keys of this table.
E
- entryPathSet() - Method in interface org.tomlj.TomlTable
-
Get all the entries in this table.
- entryPathSet(boolean) - Method in interface org.tomlj.TomlTable
-
Get all the entries in this table.
- entrySet() - Method in interface org.tomlj.TomlTable
-
Get the entries of this table.
- equals(Object) - Method in class org.tomlj.TomlPosition
- equals(TomlArray, TomlArray) - Static method in class org.tomlj.Toml
-
Performs a deep comparison between two arrays to determine if they are equivalent.
- equals(TomlTable, TomlTable) - Static method in class org.tomlj.Toml
-
Performs a deep comparison between two tables to determine if they are equivalent.
- errors() - Method in interface org.tomlj.TomlParseResult
-
The errors that occurred during parsing.
G
- get(int) - Method in interface org.tomlj.TomlArray
-
Get a value at a specified index.
- get(String) - Method in interface org.tomlj.TomlTable
-
Get a value from the TOML document.
- get(List<String>) - Method in interface org.tomlj.TomlTable
-
Get a value from the TOML document.
- getArray(int) - Method in interface org.tomlj.TomlArray
-
Get an array at a specified index.
- getArray(String) - Method in interface org.tomlj.TomlTable
-
Get an array from the TOML document.
- getArray(List<String>) - Method in interface org.tomlj.TomlTable
-
Get an array from the TOML document.
- getArrayOrEmpty(String) - Method in interface org.tomlj.TomlTable
-
Get an array from the TOML document.
- getArrayOrEmpty(List<String>) - Method in interface org.tomlj.TomlTable
-
Get an array from the TOML document.
- getBoolean(int) - Method in interface org.tomlj.TomlArray
-
Get a boolean at a specified index.
- getBoolean(String) - Method in interface org.tomlj.TomlTable
-
Get a boolean from the TOML document.
- getBoolean(String, BooleanSupplier) - Method in interface org.tomlj.TomlTable
-
Get a boolean from the TOML document, or return a default.
- getBoolean(List<String>) - Method in interface org.tomlj.TomlTable
-
Get a boolean from the TOML document.
- getBoolean(List<String>, BooleanSupplier) - Method in interface org.tomlj.TomlTable
-
Get a boolean from the TOML document, or return a default.
- getDouble(int) - Method in interface org.tomlj.TomlArray
-
Get a double at a specified index.
- getDouble(String) - Method in interface org.tomlj.TomlTable
-
Get a double from the TOML document.
- getDouble(String, DoubleSupplier) - Method in interface org.tomlj.TomlTable
-
Get a double from the TOML document, or return a default.
- getDouble(List<String>) - Method in interface org.tomlj.TomlTable
-
Get a double from the TOML document.
- getDouble(List<String>, DoubleSupplier) - Method in interface org.tomlj.TomlTable
-
Get a double from the TOML document, or return a default.
- getLocalDate(int) - Method in interface org.tomlj.TomlArray
-
Get a local date at a specified index.
- getLocalDate(String) - Method in interface org.tomlj.TomlTable
-
Get a local date from the TOML document.
- getLocalDate(String, Supplier<LocalDate>) - Method in interface org.tomlj.TomlTable
-
Get a local date from the TOML document, or return a default.
- getLocalDate(List<String>) - Method in interface org.tomlj.TomlTable
-
Get a local date from the TOML document.
- getLocalDate(List<String>, Supplier<LocalDate>) - Method in interface org.tomlj.TomlTable
-
Get a local date from the TOML document, or return a default.
- getLocalDateTime(int) - Method in interface org.tomlj.TomlArray
-
Get a local date time at a specified index.
- getLocalDateTime(String) - Method in interface org.tomlj.TomlTable
-
Get a local date time from the TOML document.
- getLocalDateTime(String, Supplier<LocalDateTime>) - Method in interface org.tomlj.TomlTable
-
Get a local date time from the TOML document, or return a default.
- getLocalDateTime(List<String>) - Method in interface org.tomlj.TomlTable
-
Get a local date time from the TOML document.
- getLocalDateTime(List<String>, Supplier<LocalDateTime>) - Method in interface org.tomlj.TomlTable
-
Get a local date time from the TOML document, or return a default.
- getLocalTime(int) - Method in interface org.tomlj.TomlArray
-
Get a local time at a specified index.
- getLocalTime(String) - Method in interface org.tomlj.TomlTable
-
Get a local time from the TOML document.
- getLocalTime(String, Supplier<LocalTime>) - Method in interface org.tomlj.TomlTable
-
Get a local time from the TOML document, or return a default.
- getLocalTime(List<String>) - Method in interface org.tomlj.TomlTable
-
Get a local time from the TOML document.
- getLocalTime(List<String>, Supplier<LocalTime>) - Method in interface org.tomlj.TomlTable
-
Get a local time from the TOML document, or return a default.
- getLong(int) - Method in interface org.tomlj.TomlArray
-
Get a long at a specified index.
- getLong(String) - Method in interface org.tomlj.TomlTable
-
Get a long from the TOML document.
- getLong(String, LongSupplier) - Method in interface org.tomlj.TomlTable
-
Get a long from the TOML document, or return a default.
- getLong(List<String>) - Method in interface org.tomlj.TomlTable
-
Get a long from the TOML document.
- getLong(List<String>, LongSupplier) - Method in interface org.tomlj.TomlTable
-
Get a long from the TOML document, or return a default.
- getOffsetDateTime(int) - Method in interface org.tomlj.TomlArray
-
Get an offset date time at a specified index.
- getOffsetDateTime(String) - Method in interface org.tomlj.TomlTable
-
Get an offset date time from the TOML document.
- getOffsetDateTime(String, Supplier<OffsetDateTime>) - Method in interface org.tomlj.TomlTable
-
Get an offset date time from the TOML document, or return a default.
- getOffsetDateTime(List<String>) - Method in interface org.tomlj.TomlTable
-
Get an offset date time from the TOML document.
- getOffsetDateTime(List<String>, Supplier<OffsetDateTime>) - Method in interface org.tomlj.TomlTable
-
Get an offset date time from the TOML document, or return a default.
- getString(int) - Method in interface org.tomlj.TomlArray
-
Get a string at a specified index.
- getString(String) - Method in interface org.tomlj.TomlTable
-
Get a string from the TOML document.
- getString(String, Supplier<String>) - Method in interface org.tomlj.TomlTable
-
Get a string from the TOML document, or return a default.
- getString(List<String>) - Method in interface org.tomlj.TomlTable
-
Get a string from the TOML document.
- getString(List<String>, Supplier<String>) - Method in interface org.tomlj.TomlTable
-
Get a string from the TOML document, or return a default.
- getTable(int) - Method in interface org.tomlj.TomlArray
-
Get a table at a specified index.
- getTable(String) - Method in interface org.tomlj.TomlTable
-
Get a table from the TOML document.
- getTable(List<String>) - Method in interface org.tomlj.TomlTable
-
Get a table from the TOML document.
- getTableOrEmpty(String) - Method in interface org.tomlj.TomlTable
-
Get a table from the TOML document.
- getTableOrEmpty(List<String>) - Method in interface org.tomlj.TomlTable
-
Get a table from the TOML document.
H
- hasErrors() - Method in interface org.tomlj.TomlParseResult
-
true
if the TOML document contained errors. - hashCode() - Method in class org.tomlj.TomlPosition
- HEAD - org.tomlj.TomlVersion
-
The head (development) specification of TOML.
I
- inputPositionOf(int) - Method in interface org.tomlj.TomlArray
-
Get the position where a value is defined in the TOML document.
- inputPositionOf(String) - Method in interface org.tomlj.TomlTable
-
Get the position where a key is defined in the TOML document.
- inputPositionOf(List<String>) - Method in interface org.tomlj.TomlTable
-
Get the position where a key is defined in the TOML document.
- isArray(String) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is an array.
- isArray(List<String>) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is an array.
- isBoolean(String) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a boolean.
- isBoolean(List<String>) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a boolean.
- isDouble(String) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a double.
- isDouble(List<String>) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a double.
- isEmpty() - Method in interface org.tomlj.TomlArray
-
true
if the array is empty. - isEmpty() - Method in interface org.tomlj.TomlTable
-
true
if there are no entries in this table. - isLocalDate(String) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a
LocalDate
. - isLocalDate(List<String>) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a
LocalDate
. - isLocalDateTime(String) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a
LocalDateTime
. - isLocalDateTime(List<String>) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a
LocalDateTime
. - isLocalTime(String) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a
LocalTime
. - isLocalTime(List<String>) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a
LocalTime
. - isLong(String) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a long.
- isLong(List<String>) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a long.
- isOffsetDateTime(String) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is an
OffsetDateTime
. - isOffsetDateTime(List<String>) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is an
OffsetDateTime
. - isString(String) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a string.
- isString(List<String>) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a string.
- isTable(String) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a table.
- isTable(List<String>) - Method in interface org.tomlj.TomlTable
-
Check if a value in the TOML document is a table.
J
- joinKeyPath(List<String>) - Static method in class org.tomlj.Toml
-
Join a list of keys into a single dotted key string.
- JsonOptions - Enum in org.tomlj
-
Options for serializing TOML to JSON.
K
- keyPathSet() - Method in interface org.tomlj.TomlTable
-
Get all the paths in this table.
- keyPathSet(boolean) - Method in interface org.tomlj.TomlTable
-
Get all the paths in this table.
- keySet() - Method in interface org.tomlj.TomlTable
-
Get the keys of this table.
L
- LATEST - org.tomlj.TomlVersion
-
The latest stable specification of TOML.
- line() - Method in class org.tomlj.TomlPosition
-
The line number.
M
- main(String[]) - Static method in class org.tomlj.TomlCommand
O
- org.tomlj - package org.tomlj
-
A parser for Tom's Obvious, Minimal Language (TOML).
P
- parse(InputStream) - Static method in class org.tomlj.Toml
-
Parse a TOML input stream.
- parse(InputStream, TomlVersion) - Static method in class org.tomlj.Toml
-
Parse a TOML input stream.
- parse(Reader) - Static method in class org.tomlj.Toml
-
Parse a TOML reader.
- parse(Reader, TomlVersion) - Static method in class org.tomlj.Toml
-
Parse a TOML input stream.
- parse(String) - Static method in class org.tomlj.Toml
-
Parse a TOML string.
- parse(String, TomlVersion) - Static method in class org.tomlj.Toml
-
Parse a TOML string.
- parse(ReadableByteChannel) - Static method in class org.tomlj.Toml
-
Parse a TOML reader.
- parse(ReadableByteChannel, TomlVersion) - Static method in class org.tomlj.Toml
-
Parse a TOML input stream.
- parse(Path) - Static method in class org.tomlj.Toml
-
Parse a TOML file.
- parse(Path, TomlVersion) - Static method in class org.tomlj.Toml
-
Parse a TOML file.
- parseDottedKey(String) - Static method in class org.tomlj.Toml
-
Parse a dotted key into individual parts.
- position() - Method in exception org.tomlj.TomlParseError
-
The position in the input where the error occurred.
- positionAt(int, int) - Static method in class org.tomlj.TomlPosition
-
Create a position.
S
- size() - Method in interface org.tomlj.TomlArray
-
The size of the array.
- size() - Method in interface org.tomlj.TomlTable
-
Return the number of entries in tis table.
T
- toJson(Appendable, EnumSet<JsonOptions>) - Method in interface org.tomlj.TomlArray
-
Append a JSON representation of this array to the appendable output.
- toJson(Appendable, EnumSet<JsonOptions>) - Method in interface org.tomlj.TomlTable
-
Append a JSON representation of this table to the appendable output.
- toJson(Appendable, JsonOptions...) - Method in interface org.tomlj.TomlArray
-
Append a JSON representation of this array to the appendable output.
- toJson(Appendable, JsonOptions...) - Method in interface org.tomlj.TomlTable
-
Append a JSON representation of this table to the appendable output.
- toJson(EnumSet<JsonOptions>) - Method in interface org.tomlj.TomlArray
-
Return a representation of this array using JSON.
- toJson(EnumSet<JsonOptions>) - Method in interface org.tomlj.TomlTable
-
Return a representation of this table using JSON.
- toJson(JsonOptions...) - Method in interface org.tomlj.TomlArray
-
Return a representation of this array using JSON.
- toJson(JsonOptions...) - Method in interface org.tomlj.TomlTable
-
Return a representation of this table using JSON.
- toList() - Method in interface org.tomlj.TomlArray
-
Get the elements of this array as a
List
. - toMap() - Method in interface org.tomlj.TomlTable
-
Get the elements of this array as a
Map
. - Toml - Class in org.tomlj
-
Methods for parsing data stored in Tom's Obvious, Minimal Language (TOML).
- TomlArray - Interface in org.tomlj
-
An array of TOML values.
- TomlCommand - Class in org.tomlj
-
A simple command line tool for parsing TOML and outputing in JSON.
- TomlCommand() - Constructor for class org.tomlj.TomlCommand
- tomlEscape(String) - Static method in class org.tomlj.Toml
-
Escape a text string using the TOML escape sequences.
- TomlInvalidTypeException - Exception in org.tomlj
-
An exception thrown when an invalid type is encountered.
- TomlParseError - Exception in org.tomlj
-
An error that occurred while parsing.
- TomlParseResult - Interface in org.tomlj
-
The result from parsing a TOML document.
- TomlPosition - Class in org.tomlj
-
A position in an input document.
- TomlTable - Interface in org.tomlj
-
An interface for accessing data stored in Tom's Obvious, Minimal Language (TOML).
- TomlVersion - Enum in org.tomlj
-
Supported TOML specification versions.
- toString() - Method in exception org.tomlj.TomlParseError
- toString() - Method in class org.tomlj.TomlPosition
- toToml() - Method in interface org.tomlj.TomlArray
-
Return a representation of this array using TOML.
- toToml() - Method in interface org.tomlj.TomlTable
-
Return a representation of this table using TOML.
- toToml(Appendable) - Method in interface org.tomlj.TomlArray
-
Append a TOML representation of this array to the appendable output.
- toToml(Appendable) - Method in interface org.tomlj.TomlTable
-
Append a TOML representation of this table to the appendable output.
V
- V0_4_0 - org.tomlj.TomlVersion
-
The 0.4.0 version of TOML.
- V0_5_0 - org.tomlj.TomlVersion
-
The 0.5.0 version of TOML.
- V1_0_0 - org.tomlj.TomlVersion
-
The 1.0.0 version of TOML.
- valueOf(String) - Static method in enum org.tomlj.JsonOptions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.tomlj.TomlVersion
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.tomlj.JsonOptions
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.tomlj.TomlVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VALUES_AS_OBJECTS_WITH_TYPE - org.tomlj.JsonOptions
-
Output values as objects including a "type" and "value" property.
All Classes|All Packages