Index

A B C E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

as(Class) - Static method in class be.imgn.toml.TomlBindings
Returns a converter that checks the type of a value.
asBoolean(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts a boolean.
asByte(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts an integer to a byte.
asDouble(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts a float, or an integer that a double represents exactly, to a double.
asDuration(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts a string to a duration.
asFloat(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts a float in the range of float, or an integer that a float represents exactly, to a float.
asInt(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts an integer to an int.
asLocalDate(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts a local date.
asLocalDateTime(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts a local date-time.
asLocalTime(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts a local time.
asLong(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts an integer to a long.
asOffsetDateTime(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts an offset date-time.
asPath(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts a string to a path of the default file system.
asShort(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts an integer to a short.
asString(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts a string.
asUri(TomlValue, TomlBindings.Context) - Static method in class be.imgn.toml.TomlBindings
Converts a string to a URI, as URI(String) parses it.

B

be.imgn.toml - module be.imgn.toml
A TOML 1.1 parser and writer.
be.imgn.toml - package be.imgn.toml
Parsing and writing TOML 1.1 documents.
be.imgn.toml.i18n - package be.imgn.toml.i18n
Resource bundles whose resources are the values of TOML documents.
be.imgn.toml.processor - module be.imgn.toml.processor
The annotation processor that generates the binders of the records annotated be.imgn.toml.TomlConfig.
bind(TomlTable, UnknownKeys) - Method in interface be.imgn.toml.TomlBinder
Binds a table to a record.
bind(TomlTable, Class) - Static method in class be.imgn.toml.Toml
Binds a table to a TomlConfig record, as Toml.parse(String, Class) binds a parsed document: a key that no component takes is an error.
bind(TomlTable, Class, UnknownKeys) - Static method in class be.imgn.toml.Toml
Binds a table to a TomlConfig record, and to the records it refers to, doing what unknownKeys says with the keys that no component takes.
build() - Method in class be.imgn.toml.TomlTable.Builder
Builds the table.
builder() - Static method in record class be.imgn.toml.TomlTable
Returns a builder of tables, which keeps the entries in the order they are put.

C

column() - Method in record class be.imgn.toml.TomlPosition
Returns the value of the column record component.
Context(String, UnknownKeys) - Constructor for record class be.imgn.toml.TomlBindings.Context
Creates a context.
control() - Static method in class be.imgn.toml.i18n.TomlResourceBundle
Returns a control that loads bundles from .toml resources, which must be UTF-8, as TOML requires.
convert(TomlValue, TomlBindings.Context) - Method in interface be.imgn.toml.TomlBindings.Converter
Converts a value.

E

element(TomlArray, int) - Method in class be.imgn.toml.TomlPositions
Returns where an element of an array starts.
entries() - Method in record class be.imgn.toml.TomlTable
Returns the value of the entries record component.
equals(Object) - Method in record class be.imgn.toml.TomlArray
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class be.imgn.toml.TomlBindings.Context
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class be.imgn.toml.TomlBoolean
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class be.imgn.toml.TomlDocument
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class be.imgn.toml.TomlFloat
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class be.imgn.toml.TomlInteger
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class be.imgn.toml.TomlLocalDate
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class be.imgn.toml.TomlLocalDateTime
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class be.imgn.toml.TomlLocalTime
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class be.imgn.toml.TomlOffsetDateTime
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class be.imgn.toml.TomlPosition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class be.imgn.toml.TomlString
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class be.imgn.toml.TomlTable
Indicates whether some other object is "equal to" this one.

F

format(TomlTable) - Static method in class be.imgn.toml.Toml
Formats a table as a document.

G

get(String) - Method in record class be.imgn.toml.TomlTable
Returns the value of a key.
getArray(String) - Method in record class be.imgn.toml.TomlTable
Returns the array that is the value of a key.
getBoolean(String) - Method in class be.imgn.toml.i18n.TomlResourceBundle
Returns the boolean that is the value of a key.
getBoolean(String) - Method in record class be.imgn.toml.TomlTable
Returns the boolean that is the value of a key.
getBundle(String, Locale) - Method in class be.imgn.toml.i18n.TomlResourceBundleProvider
Returns the bundle of a locale, read from the .toml resource of its bundle name: the bundle com.example.Messages for the locale fr_BE is the resource com/example/Messages_fr_BE.toml.
getDouble(String) - Method in class be.imgn.toml.i18n.TomlResourceBundle
Returns the float that is the value of a key.
getDouble(String) - Method in record class be.imgn.toml.TomlTable
Returns the float that is the value of a key.
getInt(String) - Method in class be.imgn.toml.i18n.TomlResourceBundle
Returns the integer that is the value of a key, as an int.
getInt(String) - Method in record class be.imgn.toml.TomlTable
Returns the integer that is the value of a key, as an int.
getKeys() - Method in class be.imgn.toml.i18n.TomlResourceBundle
 
getLocalDate(String) - Method in class be.imgn.toml.i18n.TomlResourceBundle
Returns the local date that is the value of a key.
getLocalDate(String) - Method in record class be.imgn.toml.TomlTable
Returns the local date that is the value of a key.
getLocalDateTime(String) - Method in class be.imgn.toml.i18n.TomlResourceBundle
Returns the local date-time that is the value of a key.
getLocalDateTime(String) - Method in record class be.imgn.toml.TomlTable
Returns the local date-time that is the value of a key.
getLocalTime(String) - Method in class be.imgn.toml.i18n.TomlResourceBundle
Returns the local time that is the value of a key.
getLocalTime(String) - Method in record class be.imgn.toml.TomlTable
Returns the local time that is the value of a key.
getLong(String) - Method in class be.imgn.toml.i18n.TomlResourceBundle
Returns the integer that is the value of a key.
getLong(String) - Method in record class be.imgn.toml.TomlTable
Returns the integer that is the value of a key.
getOffsetDateTime(String) - Method in class be.imgn.toml.i18n.TomlResourceBundle
Returns the offset date-time that is the value of a key.
getOffsetDateTime(String) - Method in record class be.imgn.toml.TomlTable
Returns the offset date-time that is the value of a key.
getString(String) - Method in record class be.imgn.toml.TomlTable
Returns the string that is the value of a key.
getTable(String) - Method in record class be.imgn.toml.TomlTable
Returns the table that is the value of a key.

H

handleGetObject(String) - Method in class be.imgn.toml.i18n.TomlResourceBundle
 
handleKeySet() - Method in class be.imgn.toml.i18n.TomlResourceBundle
 
hashCode() - Method in record class be.imgn.toml.TomlArray
Returns a hash code value for this object.
hashCode() - Method in record class be.imgn.toml.TomlBindings.Context
Returns a hash code value for this object.
hashCode() - Method in record class be.imgn.toml.TomlBoolean
Returns a hash code value for this object.
hashCode() - Method in record class be.imgn.toml.TomlDocument
Returns a hash code value for this object.
hashCode() - Method in record class be.imgn.toml.TomlFloat
Returns a hash code value for this object.
hashCode() - Method in record class be.imgn.toml.TomlInteger
Returns a hash code value for this object.
hashCode() - Method in record class be.imgn.toml.TomlLocalDate
Returns a hash code value for this object.
hashCode() - Method in record class be.imgn.toml.TomlLocalDateTime
Returns a hash code value for this object.
hashCode() - Method in record class be.imgn.toml.TomlLocalTime
Returns a hash code value for this object.
hashCode() - Method in record class be.imgn.toml.TomlOffsetDateTime
Returns a hash code value for this object.
hashCode() - Method in record class be.imgn.toml.TomlPosition
Returns a hash code value for this object.
hashCode() - Method in record class be.imgn.toml.TomlString
Returns a hash code value for this object.
hashCode() - Method in record class be.imgn.toml.TomlTable
Returns a hash code value for this object.

I

IGNORE - Enum constant in enum class be.imgn.toml.UnknownKeys
The key is ignored, so that a document written for another version of the records still binds.

K

key(TomlTable, String) - Method in class be.imgn.toml.TomlPositions
Returns where a key of a table is written.

L

line() - Method in record class be.imgn.toml.TomlPosition
Returns the value of the line record component.
list(TomlBindings.Converter) - Static method in class be.imgn.toml.TomlBindings
Returns a converter of an array to a list, which cannot be modified.

M

map(TomlBindings.Converter) - Static method in class be.imgn.toml.TomlBindings
Returns a converter of a table to a map, which keeps the order of the table and cannot be modified.

N

notOneOf(TomlValue, TomlBindings.Context, String...) - Static method in class be.imgn.toml.TomlBindings
Returns the exception reporting that a string is none of those an enum binds from.

O

of(TomlValue...) - Static method in record class be.imgn.toml.TomlArray
Returns an array of values.
open(String) - Method in interface be.imgn.toml.i18n.TomlResourceBundleProvider.Opener
Opens a resource.
optional(TomlTable, TomlBindings.Context, String, TomlBindings.Converter) - Static method in class be.imgn.toml.TomlBindings
Converts the value of a key that a table may lack.

P

parse(ByteSource) - Static method in class be.imgn.toml.Toml
Parses a document read from a source of bytes, which must be UTF-8, as TOML requires.
parse(ByteSource, Class) - Static method in class be.imgn.toml.Toml
Parses a document read from a source of bytes, which must be UTF-8, as TOML requires, and binds it to a TomlConfig record.
parse(CharSource) - Static method in class be.imgn.toml.Toml
Parses a document read from a source of characters.
parse(CharSource, Class) - Static method in class be.imgn.toml.Toml
Parses a document read from a source of characters, and binds it to a TomlConfig record.
parse(String) - Static method in class be.imgn.toml.Toml
Parses a document.
parse(String, Class) - Static method in class be.imgn.toml.Toml
Parses a document, and binds it to a TomlConfig record.
parse(Path) - Static method in class be.imgn.toml.Toml
Parses a document read from a file, which must be UTF-8, as TOML requires.
parse(Path, Class) - Static method in class be.imgn.toml.Toml
Parses a document read from a file, which must be UTF-8, as TOML requires, and binds it to a TomlConfig record.
path() - Method in record class be.imgn.toml.TomlBindings.Context
Returns the value of the path record component.
path() - Method in exception class be.imgn.toml.TomlMappingException
Returns where the value is in the document: its keys separated by dots, with the index of each element of an array in brackets, as endpoints[1].path.
position() - Method in exception class be.imgn.toml.TomlParseException
Returns where the error is.
positions() - Method in record class be.imgn.toml.TomlDocument
Returns the value of the positions record component.
put(TomlTable.Builder, String, T, Function) - Static method in class be.imgn.toml.TomlBindings
Puts the value of a record component that cannot be null into a table being built.
put(String, boolean) - Method in class be.imgn.toml.TomlTable.Builder
Puts a boolean, replacing the value of a key that is already in the table but keeping its position.
put(String, double) - Method in class be.imgn.toml.TomlTable.Builder
Puts a float, replacing the value of a key that is already in the table but keeping its position.
put(String, long) - Method in class be.imgn.toml.TomlTable.Builder
Puts an integer, replacing the value of a key that is already in the table but keeping its position.
put(String, TomlValue) - Method in class be.imgn.toml.TomlTable.Builder
Puts an entry, replacing the value of a key that is already in the table but keeping its position.
put(String, String) - Method in class be.imgn.toml.TomlTable.Builder
Puts a string, replacing the value of a key that is already in the table but keeping its position.
put(String, LocalDate) - Method in class be.imgn.toml.TomlTable.Builder
Puts a local date, replacing the value of a key that is already in the table but keeping its position.
put(String, LocalDateTime) - Method in class be.imgn.toml.TomlTable.Builder
Puts a local date-time, replacing the value of a key that is already in the table but keeping its position.
put(String, LocalTime) - Method in class be.imgn.toml.TomlTable.Builder
Puts a local time, replacing the value of a key that is already in the table but keeping its position.
put(String, OffsetDateTime) - Method in class be.imgn.toml.TomlTable.Builder
Puts an offset date-time, replacing the value of a key that is already in the table but keeping its position.
putIfNotNull(TomlTable.Builder, String, T, Function) - Static method in class be.imgn.toml.TomlBindings
Puts the value of a @Nullable record component into a table being built, unless it is null.

R

REJECT - Enum constant in enum class be.imgn.toml.UnknownKeys
The key is an error, reported as a TomlMappingException.
rejected(TomlBindings.Context, RuntimeException) - Static method in class be.imgn.toml.TomlBindings
Returns the exception reporting that a record rejected the values it was given, by throwing an exception from its constructor.
required(TomlTable, TomlBindings.Context, String, TomlBindings.Converter) - Static method in class be.imgn.toml.TomlBindings
Converts the value of a key that a table must have.
root() - Method in record class be.imgn.toml.TomlDocument
Returns the value of the root record component.

S

set(TomlBindings.Converter) - Static method in class be.imgn.toml.TomlBindings
Returns a converter of an array to a set, which keeps the order of the array and cannot be modified.

T

table(TomlValue, TomlBindings.Context, String...) - Static method in class be.imgn.toml.TomlBindings
Returns a value that is a table, after checking that it has no other key than keys, unless the context ignores unknown keys.
toArray(Collection, Function) - Static method in class be.imgn.toml.TomlBindings
Converts a list or a set to an array, in its iteration order.
toBuilder() - Method in record class be.imgn.toml.TomlTable
Returns a builder that starts with the entries of this table, in their order.
Toml - Class in be.imgn.toml
Parses and writes TOML 1.1 documents.
TomlArray - Record Class in be.imgn.toml
A TOML array.
TomlArray(List) - Constructor for record class be.imgn.toml.TomlArray
Creates an array.
TomlBinder<T> - Interface in be.imgn.toml
Binds tables to a record, and converts the record back to a table.
TomlBindings - Class in be.imgn.toml
The conversions that the code the annotation processor generates binds and writes values with.
TomlBindings.Context - Record Class in be.imgn.toml
Where a value is in the document, and how to bind it.
TomlBindings.Converter<T> - Interface in be.imgn.toml
Converts a value.
TomlBoolean - Record Class in be.imgn.toml
A TOML boolean.
TomlBoolean(boolean) - Constructor for record class be.imgn.toml.TomlBoolean
Creates an instance of a TomlBoolean record class.
TomlConfig - Annotation Interface in be.imgn.toml
Marks a record that documents bind to, with Toml.parse(String, Class) or Toml.bind(TomlTable, Class).
TomlDocument - Record Class in be.imgn.toml
A parsed document: its root table, and where its keys and values are written.
TomlDocument(TomlTable, TomlPositions) - Constructor for record class be.imgn.toml.TomlDocument
Creates a document.
TomlFloat - Record Class in be.imgn.toml
A TOML float.
TomlFloat(double) - Constructor for record class be.imgn.toml.TomlFloat
Creates an instance of a TomlFloat record class.
TomlInteger - Record Class in be.imgn.toml
A TOML integer.
TomlInteger(long) - Constructor for record class be.imgn.toml.TomlInteger
Creates an instance of a TomlInteger record class.
TomlKey - Annotation Interface in be.imgn.toml
Gives the key of a record component, or the string of an enum constant, in place of its name in kebab case.
TomlLocalDate - Record Class in be.imgn.toml
A TOML local date, such as 1979-05-27.
TomlLocalDate(LocalDate) - Constructor for record class be.imgn.toml.TomlLocalDate
Creates a local date.
TomlLocalDateTime - Record Class in be.imgn.toml
A TOML local date-time, such as 1979-05-27T07:32:00.
TomlLocalDateTime(LocalDateTime) - Constructor for record class be.imgn.toml.TomlLocalDateTime
Creates a local date-time.
TomlLocalTime - Record Class in be.imgn.toml
A TOML local time, such as 07:32:00.
TomlLocalTime(LocalTime) - Constructor for record class be.imgn.toml.TomlLocalTime
Creates a local time.
TomlMappingException - Exception Class in be.imgn.toml
Thrown when a value does not bind to the type it is bound to, as when an integer is bound to a String.
TomlOffsetDateTime - Record Class in be.imgn.toml
A TOML offset date-time, such as 1979-05-27T07:32:00-08:00.
TomlOffsetDateTime(OffsetDateTime) - Constructor for record class be.imgn.toml.TomlOffsetDateTime
Creates an offset date-time.
TomlParseException - Exception Class in be.imgn.toml
Thrown when a document is not valid TOML.
TomlPosition - Record Class in be.imgn.toml
A position in a document: a line and a column.
TomlPosition(int, int) - Constructor for record class be.imgn.toml.TomlPosition
Creates a position.
TomlPositions - Class in be.imgn.toml
Where the keys and values of a parsed document are written, to report a problem with one at its line and column.
TomlResourceBundle - Class in be.imgn.toml.i18n
A resource bundle whose resources are the values of a TOML table.
TomlResourceBundle(TomlTable) - Constructor for class be.imgn.toml.i18n.TomlResourceBundle
Creates a bundle of the values of a table.
TomlResourceBundleProvider - Class in be.imgn.toml.i18n
Provides TomlResourceBundles to a named module, which cannot load them with TomlResourceBundle.control().
TomlResourceBundleProvider(TomlResourceBundleProvider.Opener) - Constructor for class be.imgn.toml.i18n.TomlResourceBundleProvider
Creates a provider.
TomlResourceBundleProvider.Opener - Interface in be.imgn.toml.i18n
Opens resources, with the access of the module that provides the bundles.
TomlString - Record Class in be.imgn.toml
A TOML string.
TomlString(String) - Constructor for record class be.imgn.toml.TomlString
Creates a string.
TomlTable - Record Class in be.imgn.toml
A TOML table: keys mapped to values, in the order the keys were given or appeared in the document.
TomlTable(Map) - Constructor for record class be.imgn.toml.TomlTable
Creates a table.
TomlTable.Builder - Class in be.imgn.toml
Builds a TomlTable, keeping its entries in the order they are put.
TomlValue - Interface in be.imgn.toml
A TOML value: a table, an array, or a scalar.
toString() - Method in record class be.imgn.toml.TomlArray
Returns a string representation of this record class.
toString() - Method in record class be.imgn.toml.TomlBindings.Context
Returns a string representation of this record class.
toString() - Method in record class be.imgn.toml.TomlBoolean
Returns a string representation of this record class.
toString() - Method in record class be.imgn.toml.TomlDocument
Returns a string representation of this record class.
toString() - Method in record class be.imgn.toml.TomlFloat
Returns a string representation of this record class.
toString() - Method in record class be.imgn.toml.TomlInteger
Returns a string representation of this record class.
toString() - Method in record class be.imgn.toml.TomlLocalDate
Returns a string representation of this record class.
toString() - Method in record class be.imgn.toml.TomlLocalDateTime
Returns a string representation of this record class.
toString() - Method in record class be.imgn.toml.TomlLocalTime
Returns a string representation of this record class.
toString() - Method in record class be.imgn.toml.TomlOffsetDateTime
Returns a string representation of this record class.
toString() - Method in record class be.imgn.toml.TomlPosition
Returns a string representation of this record class.
toString() - Method in record class be.imgn.toml.TomlString
Returns a string representation of this record class.
toString() - Method in record class be.imgn.toml.TomlTable
Returns a string representation of this record class.
toTable(Record) - Static method in class be.imgn.toml.Toml
Converts a TomlConfig record to a table, which binds back to an equal record.
toTable(Map, Function) - Static method in class be.imgn.toml.TomlBindings
Converts a map to a table, in its iteration order.
toTable(T) - Method in interface be.imgn.toml.TomlBinder
Converts a record to a table, which binds back to an equal record.
type() - Method in interface be.imgn.toml.TomlBinder
Returns the type of the record.

U

unknownKeys() - Method in record class be.imgn.toml.TomlBindings.Context
Returns the value of the unknownKeys record component.
UnknownKeys - Enum Class in be.imgn.toml
What binding does with a key of a table that no component of the record takes.

V

value() - Method in record class be.imgn.toml.TomlBoolean
Returns the value of the value record component.
value() - Method in record class be.imgn.toml.TomlFloat
Returns the value of the value record component.
value() - Method in record class be.imgn.toml.TomlInteger
Returns the value of the value record component.
value() - Element in annotation interface be.imgn.toml.TomlKey
Returns the key, taken as is: a dot is part of the key and does not nest tables.
value() - Method in record class be.imgn.toml.TomlLocalDate
Returns the value of the value record component.
value() - Method in record class be.imgn.toml.TomlLocalDateTime
Returns the value of the value record component.
value() - Method in record class be.imgn.toml.TomlLocalTime
Returns the value of the value record component.
value() - Method in record class be.imgn.toml.TomlOffsetDateTime
Returns the value of the value record component.
value() - Method in record class be.imgn.toml.TomlString
Returns the value of the value record component.
value(TomlTable, String) - Method in class be.imgn.toml.TomlPositions
Returns where the value of a key of a table starts.
valueOf(String) - Static method in enum class be.imgn.toml.UnknownKeys
Returns the enum constant of this class with the specified name.
values() - Method in record class be.imgn.toml.TomlArray
Returns the value of the values record component.
values() - Static method in enum class be.imgn.toml.UnknownKeys
Returns an array containing the constants of this enum class, in the order they are declared.

W

write(TomlTable, ByteSink) - Static method in class be.imgn.toml.Toml
Writes a table as a UTF-8 document to a sink of bytes.
write(TomlTable, CharSink) - Static method in class be.imgn.toml.Toml
Writes a table as a document to a sink of characters.
writeAtomically(TomlTable, Path) - Static method in class be.imgn.toml.Toml
Writes a table as a UTF-8 document to a file, atomically: readers, or the next run after a crash, see either the previous content of the file or the whole document, never a part of it.
A B C E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form