Index

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

A

add(boolean) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Adds a new element to this array after wrapping it into a TomlPrimitive
add(double) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Adds a new element to this array after wrapping it into a TomlPrimitive
add(float) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Adds a new element to this array after wrapping it into a TomlPrimitive
add(int) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Adds a new element to this array after wrapping it into a TomlPrimitive
add(long) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Adds a new element to this array after wrapping it into a TomlPrimitive
add(Comment) - Method in interface io.github.wasabithumb.jtoml.comment.Comments
Adds a comment.
add(CommentPosition, String) - Method in interface io.github.wasabithumb.jtoml.comment.Comments
Creates and adds a comment
add(String) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Adds a new element to this array after wrapping it into a TomlPrimitive
add(TomlValue) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Adds a new element to this array
addAll(Iterable<? extends TomlValue>) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Adds to this array all the values contained within source
addInline(String) - Method in interface io.github.wasabithumb.jtoml.comment.Comments
Alias for add(CommentPosition.INLINE, content)
addPost(String) - Method in interface io.github.wasabithumb.jtoml.comment.Comments
Alias for add(CommentPosition.POST, content)
addPre(String) - Method in interface io.github.wasabithumb.jtoml.comment.Comments
Alias for add(CommentPosition.PRE, content)
all() - Method in interface io.github.wasabithumb.jtoml.comment.Comments
Provides an immutable list of all comments held by this object, in the order they would appear in a document.
ALWAYS - Enum constant in enum class io.github.wasabithumb.jtoml.option.prop.OrderMarkPolicy
When reading: Always read a BOM (fail if one is not present) When writing: Always write a BOM
ARRAY_STRATEGY - Static variable in interface io.github.wasabithumb.jtoml.option.JTomlOption
Determines how non-table arrays should be written; specifically when elements should receive a newline
arrayPadding() - Method in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy
 
arrayPadding(int) - Method in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy.Builder
 
ArrayStrategy - Enum Class in io.github.wasabithumb.jtoml.option.prop
 
asArray() - Method in interface io.github.wasabithumb.jtoml.value.TomlValue
Converts this value to a array.
asBoolean() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Coerces the value of this primitive to a boolean.
asDate() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Returns a Date that represents the same moment in time as the output of TomlPrimitive.asOffsetDateTime().
asDouble() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Coerces the value of this primitive to a double.
asFloat() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Coerces the value of this primitive to a float.
asInstant() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Returns a Instant that represents the same moment in time as the output of TomlPrimitive.asOffsetDateTime().
asInteger() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Coerces the value of this primitive to an integer.
asLocalDate() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Coerces the value of this primitive to a LocalDate.
asLocalDateTime() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Coerces the value of this primitive to a LocalDateTime.
asLocalTime() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Coerces the value of this primitive to a LocalTime.
asLong() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Coerces the value of this primitive to a long.
asOffsetDateTime() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Coerces the value of this primitive to an OffsetDateTime.
asPrimitive() - Method in interface io.github.wasabithumb.jtoml.value.TomlValue
Converts this value to a primitive.
asString() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Coerces the value of this primitive to a string.
asTable() - Method in interface io.github.wasabithumb.jtoml.value.TomlValue
Converts this value to a table.

B

BOOLEAN - Enum constant in enum class io.github.wasabithumb.jtoml.value.primitive.TomlPrimitiveType
 
build() - Method in class io.github.wasabithumb.jtoml.option.JTomlOptions.Builder
 
build() - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy.Builder
 
build() - Method in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy.Builder
 
build() - Method in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy.Builder
 
builder() - Static method in class io.github.wasabithumb.jtoml.option.JTomlOptions
 
builder() - Static method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy
 
builder() - Static method in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy
 
builder() - Static method in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy
 
Builder() - Constructor for class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy.Builder
 
Builder() - Constructor for class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy.Builder
 
Builder() - Constructor for class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy.Builder
 

C

canDeserializeFrom(Class<?>) - Method in class io.github.wasabithumb.jtoml.serial.plain.PlainTextTomlSerializerService
 
canDeserializeFrom(Class<?>) - Method in class io.github.wasabithumb.jtoml.serial.TomlSerializerService
 
canSerializeTo(Class<?>) - Method in class io.github.wasabithumb.jtoml.serial.plain.PlainTextTomlSerializerService
 
canSerializeTo(Class<?>) - Method in class io.github.wasabithumb.jtoml.serial.TomlSerializerService
 
charAt(int) - Method in enum class io.github.wasabithumb.jtoml.option.prop.LineSeparator
 
checkDate(TemporalAccessor) - Static method in exception io.github.wasabithumb.jtoml.except.TomlValueException
 
clear() - Method in interface io.github.wasabithumb.jtoml.comment.Comments
Removes all comments
clear() - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Clears the table
clear(CommentPosition) - Method in interface io.github.wasabithumb.jtoml.comment.Comments
Removes all comments of the given position.
Comment - Interface in io.github.wasabithumb.jtoml.comment
Represents a TOML comment.
Comment.Inline - Annotation Interface in io.github.wasabithumb.jtoml.comment
Annotation for use in reflect serialization.
Comment.Post - Annotation Interface in io.github.wasabithumb.jtoml.comment
Annotation for use in reflect serialization.
Comment.Pre - Annotation Interface in io.github.wasabithumb.jtoml.comment
Annotation for use in reflect serialization.
CommentPosition - Enum Class in io.github.wasabithumb.jtoml.comment
Represents the part of a TOML expression which a comment is bound to.
comments() - Method in interface io.github.wasabithumb.jtoml.value.TomlValue
Accesses the comments stored on this value
Comments - Interface in io.github.wasabithumb.jtoml.comment
Holds a mutable collection of comments bound to a specific TOML expression
compareTo(TomlKey) - Method in interface io.github.wasabithumb.jtoml.key.TomlKey
 
constantIndent() - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy
 
constantIndent(int) - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy.Builder
 
contains(TomlKey) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Returns true if the given key has a mapping within this table.
contains(CharSequence) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Returns true if the given key has a mapping within this table.
contains(TomlValue) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Returns true if the given value is present within the array
content() - Method in interface io.github.wasabithumb.jtoml.comment.Comment
Raw text contained within the comment
copyOf(Comments) - Static method in interface io.github.wasabithumb.jtoml.comment.Comments
 
copyOf(TomlPrimitive) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Creates a new TomlPrimitive with the same value and comments as the provided primitive
copyOf(TomlTable) - Static method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Creates a new table which contains a deep copy of the given table
copyOf(TomlValue) - Static method in interface io.github.wasabithumb.jtoml.value.TomlValue
Returns a deep copy of the provided value
copyOf(Iterable<? extends TomlValue>) - Static method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Creates a new mutable TomlArray with the same content as the provided array
count() - Method in interface io.github.wasabithumb.jtoml.comment.Comments
Reports the total number of comments, equivalent to all().length()
create() - Static method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Creates a new empty TomlArray
create() - Static method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Creates an empty table
create(int) - Static method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Creates a new TomlArray with the specified initial capacity
creationTime() - Method in interface io.github.wasabithumb.jtoml.value.TomlValue
Reports the time that this object was created as reported by System.nanoTime().
CRLF - Enum constant in enum class io.github.wasabithumb.jtoml.option.prop.LineSeparator
Windows newline (\r\n, 0x0D 0x0A)

D

defaults() - Static method in class io.github.wasabithumb.jtoml.option.JTomlOptions
 
defaultValue() - Method in interface io.github.wasabithumb.jtoml.option.JTomlOption
 
deserialize(Class<T>, T) - Method in interface io.github.wasabithumb.jtoml.JToml
deserialize(String) - Method in class io.github.wasabithumb.jtoml.serial.plain.PlainTextTomlSerializer
 
deserialize(I) - Method in interface io.github.wasabithumb.jtoml.serial.TomlSerializer
DYNAMIC - Enum constant in enum class io.github.wasabithumb.jtoml.option.prop.ArrayStrategy
Array elements are written on a new line when any element has comments defined or is a non-primitive

E

elementPadding() - Method in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy
 
elementPadding(int) - Method in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy.Builder
 
empty() - Static method in interface io.github.wasabithumb.jtoml.comment.Comments
 
equals(Object) - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy
 
equals(Object) - Method in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy
 
equals(Object) - Method in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy
 
EXTENSION_GUARD - Static variable in interface io.github.wasabithumb.jtoml.option.JTomlOption
If true, static extension is prohibited.

F

flags() - Method in interface io.github.wasabithumb.jtoml.value.TomlValue
Reports the flags stored on this value.
flags(int) - Method in interface io.github.wasabithumb.jtoml.value.TomlValue
Sets the flags stored on this value.
FLOAT - Enum constant in enum class io.github.wasabithumb.jtoml.value.primitive.TomlPrimitiveType
 
fromToml(TomlTable) - Method in class io.github.wasabithumb.jtoml.serial.plain.PlainTextTomlSerializer
 
fromToml(TomlTable) - Method in interface io.github.wasabithumb.jtoml.serial.TomlSerializer
 
fromToml(Class<T>, TomlTable) - Method in interface io.github.wasabithumb.jtoml.JToml
Converts the given TOML table to the given type, if an appropriate serializer is present in the classpath.

G

get(int) - Method in interface io.github.wasabithumb.jtoml.key.TomlKey
Gets the Nth part of this key.
get(int) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Returns the Nth element in this array
get(CommentPosition) - Method in interface io.github.wasabithumb.jtoml.comment.Comments
Provides an immutable list of all comments of the given position in insertion order.
get(TomlKey) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Gets the value mapped to the given key, or null if no entry exists.
get(JTomlOption<T>) - Method in class io.github.wasabithumb.jtoml.option.JTomlOptions
 
get(CharSequence) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Gets the value mapped to the given key, or null if no entry exists.
get(JTomlOption.Bool) - Method in class io.github.wasabithumb.jtoml.option.JTomlOptions
 
getCause() - Method in exception io.github.wasabithumb.jtoml.except.parse.TomlDateTimeException
 
getCause() - Method in exception io.github.wasabithumb.jtoml.except.TomlIOException
 
getColumnNumber() - Method in exception io.github.wasabithumb.jtoml.except.parse.TomlLocalParseException
 
getDeserializer(JToml, Class<T>) - Method in class io.github.wasabithumb.jtoml.serial.plain.PlainTextTomlSerializerService
 
getDeserializer(JToml, Class<T>) - Method in class io.github.wasabithumb.jtoml.serial.TomlSerializerService
 
getInline() - Method in interface io.github.wasabithumb.jtoml.comment.Comments
Gets the content of the INLINE comment, if any is set.
getLineNumber() - Method in exception io.github.wasabithumb.jtoml.except.parse.TomlLocalParseException
 
getMessage() - Method in exception io.github.wasabithumb.jtoml.except.parse.TomlLocalParseException
 
getRawMessage() - Method in exception io.github.wasabithumb.jtoml.except.parse.TomlLocalParseException
 
getSerializer(JToml, Class<T>) - Method in class io.github.wasabithumb.jtoml.serial.plain.PlainTextTomlSerializerService
 
getSerializer(JToml, Class<T>) - Method in class io.github.wasabithumb.jtoml.serial.TomlSerializerService
 
globalIndent() - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy
 
globalIndent(int) - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy.Builder
 

H

hashCode() - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy
 
hashCode() - Method in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy
 
hashCode() - Method in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy
 

I

IF_PRESENT - Enum constant in enum class io.github.wasabithumb.jtoml.option.prop.OrderMarkPolicy
When reading: Read a BOM only if one exists When writing: Write a BOM only if the document was previously read and contained a BOM
INDENTATION - Static variable in interface io.github.wasabithumb.jtoml.option.JTomlOption
Indentation to apply when writing
IndentationPolicy - Class in io.github.wasabithumb.jtoml.option.prop
Determines how a TOML document should be indented when writing.
IndentationPolicy.Builder - Class in io.github.wasabithumb.jtoml.option.prop
 
indentChar() - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy
 
indentChar(char) - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy.Builder
 
INLINE - Enum constant in enum class io.github.wasabithumb.jtoml.comment.CommentPosition
Comment is placed on the same line as the target expression.
inlineTablePadding() - Method in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy
 
inlineTablePadding(int) - Method in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy.Builder
 
INTEGER - Enum constant in enum class io.github.wasabithumb.jtoml.value.primitive.TomlPrimitiveType
 
inType() - Method in interface io.github.wasabithumb.jtoml.serial.TomlSerializer
 
inType() - Method in interface io.github.wasabithumb.jtoml.serial.TomlSerializer.Symmetric
 
io.github.wasabithumb.jtoml - package io.github.wasabithumb.jtoml
 
io.github.wasabithumb.jtoml.comment - package io.github.wasabithumb.jtoml.comment
 
io.github.wasabithumb.jtoml.document - package io.github.wasabithumb.jtoml.document
 
io.github.wasabithumb.jtoml.except - package io.github.wasabithumb.jtoml.except
 
io.github.wasabithumb.jtoml.except.parse - package io.github.wasabithumb.jtoml.except.parse
 
io.github.wasabithumb.jtoml.key - package io.github.wasabithumb.jtoml.key
 
io.github.wasabithumb.jtoml.option - package io.github.wasabithumb.jtoml.option
 
io.github.wasabithumb.jtoml.option.prop - package io.github.wasabithumb.jtoml.option.prop
 
io.github.wasabithumb.jtoml.serial - package io.github.wasabithumb.jtoml.serial
 
io.github.wasabithumb.jtoml.serial.plain - package io.github.wasabithumb.jtoml.serial.plain
 
io.github.wasabithumb.jtoml.value - package io.github.wasabithumb.jtoml.value
 
io.github.wasabithumb.jtoml.value.array - package io.github.wasabithumb.jtoml.value.array
 
io.github.wasabithumb.jtoml.value.primitive - package io.github.wasabithumb.jtoml.value.primitive
 
io.github.wasabithumb.jtoml.value.table - package io.github.wasabithumb.jtoml.value.table
 
isArray() - Method in interface io.github.wasabithumb.jtoml.value.TomlValue
Returns true if the value represents a array and TomlValue.asArray() may be called.
isBoolean() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Checks if the type of this primitive is equal to TomlPrimitiveType.BOOLEAN, meaning that the output of TomlPrimitive.asBoolean() is equal to the value of this primitive.
isEmpty() - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
 
isFloat() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Checks if the type of this primitive is equal to TomlPrimitiveType.FLOAT, meaning that the output of TomlPrimitive.asDouble() is equal to the value of this primitive.
isInteger() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Checks if the type of this primitive is equal to TomlPrimitiveType.INTEGER, meaning that the output of TomlPrimitive.asLong() is equal to the value of this primitive.
isLegal(T) - Method in interface io.github.wasabithumb.jtoml.option.JTomlOption
 
isLocalDate() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Checks if the type of this primitive is equal to TomlPrimitiveType.LOCAL_DATE, meaning that the output of TomlPrimitive.asLocalDate() is identical to the value of this primitive.
isLocalDateTime() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Checks if the type of this primitive is equal to TomlPrimitiveType.LOCAL_DATE_TIME, meaning that the output of TomlPrimitive.asLocalDateTime() is identical to the value of this primitive.
isLocalTime() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Checks if the type of this primitive is equal to TomlPrimitiveType.LOCAL_TIME, meaning that the output of TomlPrimitive.asLocalTime() is identical to the value of this primitive.
isOffsetDateTime() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Checks if the type of this primitive is equal to TomlPrimitiveType.OFFSET_DATE_TIME, meaning that the output of TomlPrimitive.asOffsetDateTime() is identical to the value of this primitive.
isPrimitive() - Method in interface io.github.wasabithumb.jtoml.value.TomlValue
Returns true if the value represents a primitive and TomlValue.asPrimitive() may be called.
isString() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Checks if the type of this primitive is equal to TomlPrimitiveType.STRING, meaning that the output of TomlPrimitive.asString() is identical to the value of this primitive.
isTable() - Method in interface io.github.wasabithumb.jtoml.value.TomlValue
Returns true if the value represents a table and TomlValue.asTable() may be called.

J

join(TomlKey, TomlKey...) - Static method in interface io.github.wasabithumb.jtoml.key.TomlKey
Returns a TOML key that represents a concatenation of the parts of each provided key.
jToml() - Static method in interface io.github.wasabithumb.jtoml.JToml
Provides the default JToml instance
jToml(JTomlOptions) - Static method in interface io.github.wasabithumb.jtoml.JToml
Creates a new JToml instance
JToml - Interface in io.github.wasabithumb.jtoml
Entry point for JToml
JTomlOption<T> - Interface in io.github.wasabithumb.jtoml.option
An enum-like option key for JToml
JTomlOption.Bool - Interface in io.github.wasabithumb.jtoml.option
 
JTomlOptions - Class in io.github.wasabithumb.jtoml.option
An immutable map of JTomlOptions and their associated values.
JTomlOptions.Builder - Class in io.github.wasabithumb.jtoml.option
 

K

keys() - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Reports the keys present in this table recursively in lexicographical order.
keys(boolean) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Reports the keys in this table in lexicographical order.

L

length() - Method in enum class io.github.wasabithumb.jtoml.option.prop.LineSeparator
 
LEXICOGRAPHICAL - Enum constant in enum class io.github.wasabithumb.jtoml.option.prop.SortMethod
Keys are sorted by identity, resulting in a lexicographical order.
LF - Enum constant in enum class io.github.wasabithumb.jtoml.option.prop.LineSeparator
UNIX newline (\n, 0x0A)
LINE_SEPARATOR - Static variable in interface io.github.wasabithumb.jtoml.option.JTomlOption
The line separator to use when writing and normalizing, either LF or CRLF.
LineSeparator - Enum Class in io.github.wasabithumb.jtoml.option.prop
 
literal(S...) - Static method in interface io.github.wasabithumb.jtoml.key.TomlKey
Wraps a pre-parsed TOML key (by parts) into a TomlKey object.
LOCAL_DATE - Enum constant in enum class io.github.wasabithumb.jtoml.value.primitive.TomlPrimitiveType
 
LOCAL_DATE_TIME - Enum constant in enum class io.github.wasabithumb.jtoml.value.primitive.TomlPrimitiveType
 
LOCAL_TIME - Enum constant in enum class io.github.wasabithumb.jtoml.value.primitive.TomlPrimitiveType
 

M

MultiComment - Class in io.github.wasabithumb.jtoml.comment
Holds annotations for applying multiple comments to values on TomlSerializable classes and records, for use with the reflect serializer (jtoml-serializer-reflect).
MultiComment.Inline - Annotation Interface in io.github.wasabithumb.jtoml.comment
Variadic counterpart to @Comment.Inline
MultiComment.Post - Annotation Interface in io.github.wasabithumb.jtoml.comment
Variadic counterpart to @Comment.Post
MultiComment.Pre - Annotation Interface in io.github.wasabithumb.jtoml.comment
Variadic counterpart to @Comment.Pre

N

name() - Method in interface io.github.wasabithumb.jtoml.option.JTomlOption
 
NEVER - Enum constant in enum class io.github.wasabithumb.jtoml.option.prop.OrderMarkPolicy
When reading: Never attempt to read a BOM (fail if one is present) When writing: Never write a BOM
NONE - Static variable in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy
No indentation
NONE - Static variable in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy
No padding
NONE - Static variable in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy
No spacing

O

of(boolean) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Provides a primitive of type BOOLEAN wrapping the given boolean value
of(double) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Creates a primitive of type FLOAT wrapping the given double value
of(float) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Creates a primitive of type FLOAT wrapping the given float value after a widening conversion to Double
of(int) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Creates a primitive of type INTEGER wrapping the given integer value after a widening conversion to Long
of(long) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Creates a primitive of type INTEGER wrapping the given long value
of(CommentPosition, String) - Static method in interface io.github.wasabithumb.jtoml.comment.Comment
 
of(String) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Creates a primitive of type STRING wrapping the given string value
of(LocalDate) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Creates a primitive of type LOCAL_DATE wrapping the given LocalDate
of(LocalDate, ZoneOffset) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Creates a primitive of type LOCAL_DATE wrapping the given LocalDate
of(LocalDateTime) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Creates a primitive of type LOCAL_DATE_TIME wrapping the given LocalDateTime
of(LocalDateTime, ZoneOffset) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Creates a primitive of type LOCAL_DATE_TIME wrapping the given LocalDateTime
of(LocalTime) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Creates a primitive of type LOCAL_TIME wrapping the given LocalTime
of(LocalTime, ZoneOffset) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Creates a primitive of type LOCAL_TIME wrapping the given LocalTime
of(OffsetDateTime) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Creates a primitive of type OFFSET_DATE_TIME wrapping the given OffsetDateTime
OFFSET_DATE_TIME - Enum constant in enum class io.github.wasabithumb.jtoml.value.primitive.TomlPrimitiveType
 
OrderMarkPolicy - Enum Class in io.github.wasabithumb.jtoml.option.prop
Determines how the BOM (byte order mark) should be handled when reading and writing
ordinal() - Method in interface io.github.wasabithumb.jtoml.option.JTomlOption
 
outType() - Method in interface io.github.wasabithumb.jtoml.serial.TomlSerializer
 
outType() - Method in interface io.github.wasabithumb.jtoml.serial.TomlSerializer.Symmetric
 

P

PADDING - Static variable in interface io.github.wasabithumb.jtoml.option.JTomlOption
Padding to apply when writing
PaddingPolicy - Class in io.github.wasabithumb.jtoml.option.prop
Determines the amount of space characters to insert within TOML elements
PaddingPolicy.Builder - Class in io.github.wasabithumb.jtoml.option.prop
 
parse(CharSequence) - Static method in interface io.github.wasabithumb.jtoml.key.TomlKey
Parses a string representation of a TOML key.
parseFloat(String) - Static method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
Parses a float string into a TomlPrimitive with type FLOAT.
PlainTextTomlSerializer - Class in io.github.wasabithumb.jtoml.serial.plain
 
PlainTextTomlSerializer(JToml) - Constructor for class io.github.wasabithumb.jtoml.serial.plain.PlainTextTomlSerializer
 
PlainTextTomlSerializerService - Class in io.github.wasabithumb.jtoml.serial.plain
 
PlainTextTomlSerializerService() - Constructor for class io.github.wasabithumb.jtoml.serial.plain.PlainTextTomlSerializerService
 
position() - Method in interface io.github.wasabithumb.jtoml.comment.Comment
Position of the comment
POST - Enum constant in enum class io.github.wasabithumb.jtoml.comment.CommentPosition
Comment is bound to the line(s) directly after the target expression.
postIndent() - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy
 
postIndent(int) - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy.Builder
 
postStatement() - Method in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy
 
postStatement(int) - Method in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy.Builder
 
postTable() - Method in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy
 
postTable(int) - Method in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy.Builder
 
PRE - Enum constant in enum class io.github.wasabithumb.jtoml.comment.CommentPosition
Comment is bound to the line(s) directly before the target expression.
preStatement() - Method in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy
 
preStatement(int) - Method in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy.Builder
 
preTable() - Method in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy
 
preTable(int) - Method in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy.Builder
 
put(TomlKey, boolean) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.
put(TomlKey, double) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.
put(TomlKey, float) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.
put(TomlKey, int) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.
put(TomlKey, long) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.
put(TomlKey, TomlValue) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.
put(TomlKey, String) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.
put(CharSequence, boolean) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.
put(CharSequence, double) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.
put(CharSequence, float) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.
put(CharSequence, int) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.
put(CharSequence, long) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.
put(CharSequence, TomlValue) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.
put(CharSequence, String) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Updates the value mapped to the given key, creating a new entry if one does not exist.

R

read(File) - Method in interface io.github.wasabithumb.jtoml.JToml
Reads a TOML table from the filesystem
read(InputStream) - Method in interface io.github.wasabithumb.jtoml.JToml
Reads a TOML table from a stream
read(Reader) - Method in interface io.github.wasabithumb.jtoml.JToml
Reads a TOML table from a reader.
read(Path) - Method in interface io.github.wasabithumb.jtoml.JToml
Reads a TOML table from the filesystem
READ_BOM - Static variable in interface io.github.wasabithumb.jtoml.option.JTomlOption
Determines if a BOM should be read.
READ_COMMENTS - Static variable in interface io.github.wasabithumb.jtoml.option.JTomlOption
If true, comments will be stored in the resulting document (rather than ignored) when reading
readFromString(String) - Method in interface io.github.wasabithumb.jtoml.JToml
Reads a TOML table from a string
remove(int) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Removes the Nth element from this array
remove(TomlKey) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Removes the entry associated with the given key.
remove(String) - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Removes the entry associated with the given key.
remove(TomlValue) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Removes the first occurrence of the specified value from this array
rethrow(IOException) - Static method in exception io.github.wasabithumb.jtoml.except.TomlIOException
 

S

scale(int) - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy.Builder
 
serialize(TomlTable) - Method in class io.github.wasabithumb.jtoml.serial.plain.PlainTextTomlSerializer
 
serialize(TomlTable) - Method in interface io.github.wasabithumb.jtoml.serial.TomlSerializer
serialize(Class<T>, TomlTable) - Method in interface io.github.wasabithumb.jtoml.JToml
serialType() - Method in class io.github.wasabithumb.jtoml.serial.plain.PlainTextTomlSerializer
 
serialType() - Method in interface io.github.wasabithumb.jtoml.serial.TomlSerializer.Symmetric
 
set(int, TomlValue) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Sets the Nth element of this array to the given value
set(JTomlOption<T>, T) - Method in class io.github.wasabithumb.jtoml.option.JTomlOptions.Builder
 
setInline(String) - Method in interface io.github.wasabithumb.jtoml.comment.Comments
Sets the content of the inline comment, or clears it if null
SHORT - Enum constant in enum class io.github.wasabithumb.jtoml.option.prop.ArrayStrategy
Array elements are always written on the same line (comments are ignored)
size() - Method in interface io.github.wasabithumb.jtoml.key.TomlKey
Provides the number of parts in this key.
size() - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Reports the number of elements in this array
size() - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Reports the number of entries in this map.
slice(int, int) - Method in interface io.github.wasabithumb.jtoml.key.TomlKey
 
SORTING - Static variable in interface io.github.wasabithumb.jtoml.option.JTomlOption
Determines how keys are sorted within a table when writing.
SortMethod - Enum Class in io.github.wasabithumb.jtoml.option.prop
Determines how keys within a table are sorted when writing.
SPACING - Static variable in interface io.github.wasabithumb.jtoml.option.JTomlOption
Spacing to apply when writing
SpacingPolicy - Class in io.github.wasabithumb.jtoml.option.prop
Determines how newlines should be inserted to separate TOML elements
SpacingPolicy.Builder - Class in io.github.wasabithumb.jtoml.option.prop
 
STANDARD - Static variable in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy
indentationLevel is initialized to 0.
STANDARD - Static variable in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy
Do not pad table headers; pad inline tables, arrays and their elements by 1
STANDARD - Static variable in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy
Put 1 newline before each table
STRATIFIED - Enum constant in enum class io.github.wasabithumb.jtoml.option.prop.SortMethod
Groups keys by value type: first primitives, then arrays, then arrays-of-tables, then tables.
stream() - Method in interface io.github.wasabithumb.jtoml.key.TomlKey
 
STRING - Enum constant in enum class io.github.wasabithumb.jtoml.value.primitive.TomlPrimitiveType
 
subSequence(int, int) - Method in enum class io.github.wasabithumb.jtoml.option.prop.LineSeparator
 
SYSTEM - Static variable in enum class io.github.wasabithumb.jtoml.option.prop.LineSeparator
The system line separator, determined by System.lineSeparator()

T

tablePadding() - Method in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy
 
tablePadding(int) - Method in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy.Builder
 
TALL - Enum constant in enum class io.github.wasabithumb.jtoml.option.prop.ArrayStrategy
Array elements are always written on a new line
TIME - Enum constant in enum class io.github.wasabithumb.jtoml.option.prop.SortMethod
Keys are sorted by creation time.
TIME_ZONE - Static variable in interface io.github.wasabithumb.jtoml.option.JTomlOption
Zone offset to use when reading a Local Date-Time as an OffsetDateTime and when writing a LocalDateTime as an Offset Date-Time
toArray() - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Returns a new array with the same length and values as this object
toArray(Class<T>) - Method in interface io.github.wasabithumb.jtoml.value.array.TomlArray
Returns a new array with the same length and values as this object, asserting that each element is an instance of the given class
toMap() - Method in interface io.github.wasabithumb.jtoml.value.table.TomlTable
Creates a new map which contains a flattened view of this table.
TomlArray - Interface in io.github.wasabithumb.jtoml.value.array
A list of TOML values
TomlBomException - Exception in io.github.wasabithumb.jtoml.except.parse
An issue was found with the BOM in the source data.
TomlBomException(String) - Constructor for exception io.github.wasabithumb.jtoml.except.parse.TomlBomException
 
TomlClobberException - Exception in io.github.wasabithumb.jtoml.except.parse
Failed to parse due to clobbering; a key or table was redefined either explicitly or in an attempt to use an existing key as a table.
TomlClobberException(String) - Constructor for exception io.github.wasabithumb.jtoml.except.parse.TomlClobberException
 
TomlCodingException - Exception in io.github.wasabithumb.jtoml.except.parse
Error while decoding UTF-8 data.
TomlCodingException(String) - Constructor for exception io.github.wasabithumb.jtoml.except.parse.TomlCodingException
 
TomlDateTimeException - Exception in io.github.wasabithumb.jtoml.except.parse
Wraps a DateTimeException; thrown when trying to parse an invalid datetime
TomlDateTimeException(DateTimeException) - Constructor for exception io.github.wasabithumb.jtoml.except.parse.TomlDateTimeException
 
TomlDocument - Interface in io.github.wasabithumb.jtoml.document
The top-level table read from a TOML file/string.
TomlException - Exception in io.github.wasabithumb.jtoml.except
Superclass of exceptions pertaining to TOML parsing, serialization and writing.
TomlException(String) - Constructor for exception io.github.wasabithumb.jtoml.except.TomlException
 
TomlException(String, Throwable) - Constructor for exception io.github.wasabithumb.jtoml.except.TomlException
 
TomlExtensionException - Exception in io.github.wasabithumb.jtoml.except.parse
An attempt was made to extend an inline table or array.
TomlExtensionException(String) - Constructor for exception io.github.wasabithumb.jtoml.except.parse.TomlExtensionException
 
TomlIOException - Exception in io.github.wasabithumb.jtoml.except
Wrapper for IOException
TomlIOException(String, IOException) - Constructor for exception io.github.wasabithumb.jtoml.except.TomlIOException
 
TomlKey - Interface in io.github.wasabithumb.jtoml.key
Represents a parsed TOML key by parts
TomlLocalParseException - Exception in io.github.wasabithumb.jtoml.except.parse
A TomlParseException with location info
TomlLocalParseException(String, int, int) - Constructor for exception io.github.wasabithumb.jtoml.except.parse.TomlLocalParseException
 
TomlLocalParseException(String, Throwable, int, int) - Constructor for exception io.github.wasabithumb.jtoml.except.parse.TomlLocalParseException
 
TomlParseException - Exception in io.github.wasabithumb.jtoml.except.parse
Errors relating to TOML parsing
TomlParseException(String) - Constructor for exception io.github.wasabithumb.jtoml.except.parse.TomlParseException
 
TomlParseException(String, Throwable) - Constructor for exception io.github.wasabithumb.jtoml.except.parse.TomlParseException
 
TomlPrimitive - Interface in io.github.wasabithumb.jtoml.value.primitive
Represents a TOML primitive (not a table or array)
TomlPrimitiveType - Enum Class in io.github.wasabithumb.jtoml.value.primitive
Type of a TOML primitive; values that are not a table or array
TomlSerializable - Interface in io.github.wasabithumb.jtoml.serial
Marker interface for classes which may be serialized with the reflection serializer.
TomlSerializer<I,O> - Interface in io.github.wasabithumb.jtoml.serial
An abstraction for facets which can transform TOML tables to/from some other type in-memory.
TomlSerializer.Symmetric<T> - Interface in io.github.wasabithumb.jtoml.serial
A TomlSerializer which serializes and deserializes the same type
TomlSerializerService - Class in io.github.wasabithumb.jtoml.serial
 
TomlSerializerService() - Constructor for class io.github.wasabithumb.jtoml.serial.TomlSerializerService
 
TomlTable - Interface in io.github.wasabithumb.jtoml.value.table
TOML key-values
TomlValue - Interface in io.github.wasabithumb.jtoml.value
A TOML primitive, array or table.
TomlValueException - Exception in io.github.wasabithumb.jtoml.except
Thrown when attempting to convert a wider type into a narrower TOML primitive.
TomlValueException(String) - Constructor for exception io.github.wasabithumb.jtoml.except.TomlValueException
 
toString() - Method in interface io.github.wasabithumb.jtoml.key.TomlKey
Serializes the key represented by this object into a TOML-compatible form, escaping as necessary.
toString() - Method in class io.github.wasabithumb.jtoml.option.JTomlOptions
 
toString() - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy
 
toString() - Method in enum class io.github.wasabithumb.jtoml.option.prop.LineSeparator
 
toString() - Method in class io.github.wasabithumb.jtoml.option.prop.PaddingPolicy
 
toString() - Method in class io.github.wasabithumb.jtoml.option.prop.SpacingPolicy
 
toToml(Class<T>, T) - Method in interface io.github.wasabithumb.jtoml.JToml
Converts the given type to a TOML table, if an appropriate deserializer is present in the classpath.
toToml(String) - Method in class io.github.wasabithumb.jtoml.serial.plain.PlainTextTomlSerializer
 
toToml(I) - Method in interface io.github.wasabithumb.jtoml.serial.TomlSerializer
 
type() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
The actual type of this primitive

U

unset(JTomlOption<?>) - Method in class io.github.wasabithumb.jtoml.option.JTomlOptions.Builder
 
unwrap() - Method in exception io.github.wasabithumb.jtoml.except.TomlIOException
 

V

value() - Element in annotation interface io.github.wasabithumb.jtoml.comment.Comment.Inline
 
value() - Element in annotation interface io.github.wasabithumb.jtoml.comment.Comment.Post
 
value() - Element in annotation interface io.github.wasabithumb.jtoml.comment.Comment.Pre
 
value() - Element in annotation interface io.github.wasabithumb.jtoml.comment.MultiComment.Inline
 
value() - Element in annotation interface io.github.wasabithumb.jtoml.comment.MultiComment.Post
 
value() - Element in annotation interface io.github.wasabithumb.jtoml.comment.MultiComment.Pre
 
value() - Method in interface io.github.wasabithumb.jtoml.value.primitive.TomlPrimitive
The (boxed) value of this primitive.
valueClass() - Method in interface io.github.wasabithumb.jtoml.option.JTomlOption.Bool
 
valueClass() - Method in interface io.github.wasabithumb.jtoml.option.JTomlOption
 
valueOf(String) - Static method in enum class io.github.wasabithumb.jtoml.comment.CommentPosition
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.wasabithumb.jtoml.option.prop.ArrayStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.wasabithumb.jtoml.option.prop.LineSeparator
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.wasabithumb.jtoml.option.prop.OrderMarkPolicy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.wasabithumb.jtoml.option.prop.SortMethod
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.wasabithumb.jtoml.value.primitive.TomlPrimitiveType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.wasabithumb.jtoml.comment.CommentPosition
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in interface io.github.wasabithumb.jtoml.option.JTomlOption
Returns a new array containing all options.
values() - Static method in enum class io.github.wasabithumb.jtoml.option.prop.ArrayStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.wasabithumb.jtoml.option.prop.LineSeparator
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.wasabithumb.jtoml.option.prop.OrderMarkPolicy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.wasabithumb.jtoml.option.prop.SortMethod
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.wasabithumb.jtoml.value.primitive.TomlPrimitiveType
Returns an array containing the constants of this enum class, in the order they are declared.
variableIndent() - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy
 
variableIndent(int) - Method in class io.github.wasabithumb.jtoml.option.prop.IndentationPolicy.Builder
 

W

write(File, TomlTable) - Method in interface io.github.wasabithumb.jtoml.JToml
Writes a TOML table to a file
write(OutputStream, TomlTable) - Method in interface io.github.wasabithumb.jtoml.JToml
Writes a TOML table to a stream
write(Writer, TomlTable) - Method in interface io.github.wasabithumb.jtoml.JToml
Writes a TOML table to a writer.
write(Path, TomlTable) - Method in interface io.github.wasabithumb.jtoml.JToml
Writes a TOML table to a file
WRITE_BOM - Static variable in interface io.github.wasabithumb.jtoml.option.JTomlOption
Determines if a BOM should be written
WRITE_COMMENTS - Static variable in interface io.github.wasabithumb.jtoml.option.JTomlOption
If true, comments defined on values will be written.
WRITE_EMPTY_TABLES - Static variable in interface io.github.wasabithumb.jtoml.option.JTomlOption
If true, table headers will be written even if they do not contain any key-values or comments.
writeToString(TomlTable) - Method in interface io.github.wasabithumb.jtoml.JToml
Writes a TOML table to a string
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form