Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.BooleanArray
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.BooleanValue
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.ByteArray
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.CharArray
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.CharValue
- accept(NodeVisitor) - Method in class com.github.siroshun09.configapi.core.node.CommentedNode
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.DoubleArray
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.EnumValue
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.FloatArray
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.IntArray
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.IntValue
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.LongArray
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.LongValue
- accept(NodeVisitor) - Method in interface com.github.siroshun09.configapi.core.node.Node
-
Accepts a
NodeVisitor
for thisNode
. - accept(NodeVisitor) - Method in class com.github.siroshun09.configapi.core.node.NullNode
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.ObjectNode
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.ShortArray
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
- accept(NodeVisitor) - Method in record class com.github.siroshun09.configapi.core.node.StringValue
- add(Object) - Method in interface com.github.siroshun09.configapi.core.node.ListNode
-
Adds a new object to this
ListNode
. - addAll(Collection<?>) - Method in interface com.github.siroshun09.configapi.core.node.ListNode
-
Adds new objects in the given
Collection
to thisListNode
. - addDeserializer(Class<T>, Deserializer<? super Node<?>, ? extends T>) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordDeserializer.Builder
-
Adds a
Deserializer
for the specifiesClass
. - addDeserializer(Class<T>, Deserializer<? super Node<?>, ? extends T>) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization.Builder
-
Adds a
Deserializer
for the specifiesClass
. - addDeserializers(DeserializerRegistry<Node<?>>) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordDeserializer.Builder
-
Adds
Deserializer
s in theDeserializerRegistry
. - addDeserializers(DeserializerRegistry<Node<?>>) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization.Builder
-
Adds
Deserializer
s in theDeserializerRegistry
. - addList() - Method in interface com.github.siroshun09.configapi.core.node.ListNode
- addList(int) - Method in interface com.github.siroshun09.configapi.core.node.ListNode
- addMap() - Method in interface com.github.siroshun09.configapi.core.node.ListNode
- addSerialization(SerializationRegistry<Node<?>>) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization.Builder
-
Adds
Serialization
s in theSerializationRegistry
. - addSerialization(Class<T>, Serialization<? super T, ? extends Node<?>>) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization.Builder
-
Adds a
Serialization
for the specifiesClass
. - addSerializer(Class<T>, Serializer<? super T, ? extends Node<?>>) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization.Builder
-
Adds a
Serializer
for the specifiesClass
. - addSerializer(Class<T>, Serializer<? super T, ? extends Node<?>>) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerializer.Builder
-
Adds a
Serializer
for the specifiesClass
. - addSerializers(SerializerRegistry<Node<?>>) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization.Builder
-
Adds
Serializer
s in theSerializerRegistry
. - addSerializers(SerializerRegistry<Node<?>>) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerializer.Builder
-
Adds
Serializer
s in theSerializerRegistry
. - andThen(Function<? super O, ? extends V>) - Method in interface com.github.siroshun09.configapi.core.serialization.Deserializer
- andThen(Function<? super O, ? extends V>) - Method in interface com.github.siroshun09.configapi.core.serialization.Serializer
- append(T, StringBuilder) - Method in interface com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor.Appender
-
Appends an object to
StringBuilder
. - appendQuoteAndEscapedString(String, StringBuilder) - Static method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
-
Appends the quoted/escaped
String
toStringBuilder
. - apply(I) - Method in interface com.github.siroshun09.configapi.core.serialization.Deserializer
-
Applies the given object to
Deserializer.deserialize(Object)
. - apply(I) - Method in interface com.github.siroshun09.configapi.core.serialization.Serializer
-
Applies the given object to
Serializer.serialize(Object)
. - arrayFlowStyle(DumperOptions.FlowStyle) - Method in class com.github.siroshun09.configapi.format.yaml.YamlFormat.Builder
-
Sets
DumperOptions.FlowStyle
for arrays. - ArrayNode<T> - Interface in com.github.siroshun09.configapi.core.node
-
An interface to represents that
Node
holds an array. - AS_IS - Static variable in interface com.github.siroshun09.configapi.core.serialization.key.KeyGenerator
-
A
KeyGenerator
implementation that returns the given string as-is, or an empty string if the argument isnull
. - asBoolean() - Method in record class com.github.siroshun09.configapi.core.node.BooleanValue
-
Gets the value as a primitive boolean.
- asByte() - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
- asByte() - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
- asByte() - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
- asByte() - Method in record class com.github.siroshun09.configapi.core.node.IntValue
- asByte() - Method in record class com.github.siroshun09.configapi.core.node.LongValue
- asByte() - Method in interface com.github.siroshun09.configapi.core.node.NumberValue
-
Gets the number as byte.
- asByte() - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
- asChar() - Method in record class com.github.siroshun09.configapi.core.node.CharValue
-
Gets the value as a primitive char.
- asDeserializerRegistry() - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializationRegistry
-
Gets the
DeserializerRegistry
that refers thisSerializationRegistry
. - asDouble() - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
- asDouble() - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
- asDouble() - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
- asDouble() - Method in record class com.github.siroshun09.configapi.core.node.IntValue
- asDouble() - Method in record class com.github.siroshun09.configapi.core.node.LongValue
- asDouble() - Method in interface com.github.siroshun09.configapi.core.node.NumberValue
-
Gets the number as double.
- asDouble() - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
- asFloat() - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
- asFloat() - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
- asFloat() - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
- asFloat() - Method in record class com.github.siroshun09.configapi.core.node.IntValue
- asFloat() - Method in record class com.github.siroshun09.configapi.core.node.LongValue
- asFloat() - Method in interface com.github.siroshun09.configapi.core.node.NumberValue
-
Gets the number as float.
- asFloat() - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
- asInt() - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
- asInt() - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
- asInt() - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
- asInt() - Method in record class com.github.siroshun09.configapi.core.node.IntValue
- asInt() - Method in record class com.github.siroshun09.configapi.core.node.LongValue
- asInt() - Method in interface com.github.siroshun09.configapi.core.node.NumberValue
-
Gets the number as int.
- asInt() - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
- asList(Class<? extends T>) - Method in interface com.github.siroshun09.configapi.core.node.ListNode
- asLong() - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
- asLong() - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
- asLong() - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
- asLong() - Method in record class com.github.siroshun09.configapi.core.node.IntValue
- asLong() - Method in record class com.github.siroshun09.configapi.core.node.LongValue
- asLong() - Method in interface com.github.siroshun09.configapi.core.node.NumberValue
-
Gets the number as long.
- asLong() - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
- asOptional() - Method in interface com.github.siroshun09.configapi.core.node.Node
-
Gets an object as
Optional
. - asOptional() - Method in class com.github.siroshun09.configapi.core.node.NullNode
- asSerializerRegistry() - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializationRegistry
-
Gets the
SerializerRegistry
that refers thisSerializationRegistry
. - asShort() - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
- asShort() - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
- asShort() - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
- asShort() - Method in record class com.github.siroshun09.configapi.core.node.IntValue
- asShort() - Method in record class com.github.siroshun09.configapi.core.node.LongValue
- asShort() - Method in interface com.github.siroshun09.configapi.core.node.NumberValue
-
Gets the number as short.
- asShort() - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
- asString() - Method in record class com.github.siroshun09.configapi.core.node.BooleanValue
- asString() - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
- asString() - Method in record class com.github.siroshun09.configapi.core.node.CharValue
- asString() - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
- asString() - Method in record class com.github.siroshun09.configapi.core.node.EnumValue
- asString() - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
- asString() - Method in record class com.github.siroshun09.configapi.core.node.IntValue
- asString() - Method in record class com.github.siroshun09.configapi.core.node.LongValue
- asString() - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
- asString() - Method in interface com.github.siroshun09.configapi.core.node.StringRepresentable
-
Represents as a
String
. - asString() - Method in record class com.github.siroshun09.configapi.core.node.StringValue
-
Gets the value as
String
. - asView() - Method in interface com.github.siroshun09.configapi.core.node.ListNode
-
Gets a view of this
ListNode
. - asView() - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets a view of this
MapNode
.
B
- BinaryFormat - Class in com.github.siroshun09.configapi.core.file.java.binary
-
A
FileFormat
implementation that loading/savingMapNode
from/to binary format. - block() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlNodeComment
-
Returns the value of the
block
record component. - BooleanArray - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a boolean array. - BooleanArray(boolean[]) - Constructor for record class com.github.siroshun09.configapi.core.node.BooleanArray
-
Creates an instance of a
BooleanArray
record class. - booleanValue() - Method in record class com.github.siroshun09.configapi.core.node.BooleanValue
-
Returns the value of the
booleanValue
record component. - BooleanValue - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a boolean value. - BooleanValue(boolean) - Constructor for record class com.github.siroshun09.configapi.core.node.BooleanValue
-
A constructor of
BooleanValue
. - BREAK - Enum constant in enum class com.github.siroshun09.configapi.core.node.visitor.VisitResult
- build() - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor.Builder
-
Creates a new
StringBuilder
. - build() - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordDeserializer.Builder
-
Creates a
RecordDeserializer
from thisRecordDeserializer.Builder
. - build() - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization.Builder
-
Creates
RecordSerialization
from thisRecordSerialization.Builder
. - build() - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerializer.Builder
-
Creates a
RecordSerializer
from thisRecordSerializer.Builder
. - build() - Method in class com.github.siroshun09.configapi.format.yaml.YamlFormat.Builder
-
Builds
YamlFormat
. - builder() - Static method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
-
Creates a new
StringNodeVisitor.Builder
. - builder() - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerializer
-
Creates a new
RecordSerializer.Builder
ofRecordSerializer
. - builder() - Static method in class com.github.siroshun09.configapi.format.yaml.YamlFormat
-
Creates a new
YamlFormat.Builder
. - builder(Class<? extends R>) - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordDeserializer
-
Creates a new
RecordDeserializer.Builder
of the specifiedRecord
class. - builder(Class<? extends R>) - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization
-
Creates a new
RecordSerialization.Builder
of the specifiedRecord
class. - builder(R) - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordDeserializer
-
Creates a new
RecordDeserializer.Builder
with the default record. - builder(R) - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization
-
Creates a new
RecordSerialization.Builder
with the default record. - ByteArray - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a byte array. - ByteArray(byte[]) - Constructor for record class com.github.siroshun09.configapi.core.node.ByteArray
-
Creates an instance of a
ByteArray
record class. - byteValue() - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
-
Returns the value of the
byteValue
record component. - ByteValue - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a byte value. - ByteValue(byte) - Constructor for record class com.github.siroshun09.configapi.core.node.ByteValue
-
Creates an instance of a
ByteValue
record class.
C
- CAMEL_TO_KEBAB - Static variable in interface com.github.siroshun09.configapi.core.serialization.key.KeyGenerator
-
A
KeyGenerator
implementation that converts camelCase to kebab-case. - CAMEL_TO_SNAKE - Static variable in interface com.github.siroshun09.configapi.core.serialization.key.KeyGenerator
-
A
KeyGenerator
implementation that converts camelCase to snake_case. - CharArray - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a char array. - CharArray(char[]) - Constructor for record class com.github.siroshun09.configapi.core.node.CharArray
-
Creates an instance of a
CharArray
record class. - charValue() - Method in record class com.github.siroshun09.configapi.core.node.CharValue
-
Returns the value of the
charValue
record component. - CharValue - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a char value. - CharValue(char) - Constructor for record class com.github.siroshun09.configapi.core.node.CharValue
-
Creates an instance of a
CharValue
record class. - clazz() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultField
-
Returns the class where the field is located.
- clazz() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultMethod
-
Returns the class where the method is located.
- clear() - Method in interface com.github.siroshun09.configapi.core.node.ListNode
-
Clears this
ListNode
. - clear() - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Clears this
MapNode
. - CollectionType - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the element type of the collection.
- com.github.siroshun09.configapi.core.comment - package com.github.siroshun09.configapi.core.comment
-
A package for handling comments.
- com.github.siroshun09.configapi.core.file - package com.github.siroshun09.configapi.core.file
-
A package that includes
FileFormat
. - com.github.siroshun09.configapi.core.file.java.binary - package com.github.siroshun09.configapi.core.file.java.binary
-
A package that includes
BinaryFormat
. - com.github.siroshun09.configapi.core.file.java.properties - package com.github.siroshun09.configapi.core.file.java.properties
-
A package that includes
PropertiesFormat
. - com.github.siroshun09.configapi.core.node - package com.github.siroshun09.configapi.core.node
-
A package containing interfaces/classes/records for Node structure.
- com.github.siroshun09.configapi.core.node.visitor - package com.github.siroshun09.configapi.core.node.visitor
-
A package for classes of visiting
Node
s. - com.github.siroshun09.configapi.core.serialization - package com.github.siroshun09.configapi.core.serialization
-
A package to provide "serialization" related interfaces.
- com.github.siroshun09.configapi.core.serialization.annotation - package com.github.siroshun09.configapi.core.serialization.annotation
-
A package for annotations that specify the default value or specify the type of collection/map.
- com.github.siroshun09.configapi.core.serialization.key - package com.github.siroshun09.configapi.core.serialization.key
-
A package that includes
Key
andKeyGenerator
. - com.github.siroshun09.configapi.core.serialization.record - package com.github.siroshun09.configapi.core.serialization.record
-
A package that includes implementations for
Serializer
/Deserializer
of the records. - com.github.siroshun09.configapi.core.serialization.registry - package com.github.siroshun09.configapi.core.serialization.registry
- com.github.siroshun09.configapi.core.util - package com.github.siroshun09.configapi.core.util
-
The utility package.
- com.github.siroshun09.configapi.format.gson - package com.github.siroshun09.configapi.format.gson
-
A package that includes
GsonFormat
. - com.github.siroshun09.configapi.format.jackson - package com.github.siroshun09.configapi.format.jackson
-
A package that includes
JacksonFormat
, and serializer/deserializer ofMapNode
for Jackson. - com.github.siroshun09.configapi.format.yaml - package com.github.siroshun09.configapi.format.yaml
-
A package that includes
YamlFormat
. - com.github.siroshun09.configapi.format.yaml.comment - package com.github.siroshun09.configapi.format.yaml.comment
-
A package of
Comment
implementations for Yaml comment. - Comment - Interface in com.github.siroshun09.configapi.core.comment
-
An interface to represent the comment.
- Comment - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the default comment.
- COMMENT_PROCESSING - Static variable in class com.github.siroshun09.configapi.format.yaml.YamlFormat
-
An instance of
YamlFormat
that processes the comments. - CommentableNode<T> - Interface in com.github.siroshun09.configapi.core.node
- CommentedNode<T> - Class in com.github.siroshun09.configapi.core.node
-
An implementation class of the
CommentableNode
to wrap the non-CommentableNode
node and attach theComment
. - compareTo(NumberValue) - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
- compareTo(NumberValue) - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
- compareTo(NumberValue) - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
- compareTo(NumberValue) - Method in record class com.github.siroshun09.configapi.core.node.IntValue
- compareTo(NumberValue) - Method in record class com.github.siroshun09.configapi.core.node.LongValue
- compareTo(NumberValue) - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
- compose(Function<? super V, ? extends I>) - Method in interface com.github.siroshun09.configapi.core.serialization.Deserializer
- compose(Function<? super V, ? extends I>) - Method in interface com.github.siroshun09.configapi.core.serialization.Serializer
- content() - Method in interface com.github.siroshun09.configapi.core.comment.SimpleComment
-
Gets the content.
- content() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlBlockComment
-
Returns the value of the
content
record component. - content() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlInlineComment
-
Returns the value of the
content
record component. - CONTINUE - Enum constant in enum class com.github.siroshun09.configapi.core.node.visitor.VisitResult
-
Continues visiting
Node
s. - copy() - Method in interface com.github.siroshun09.configapi.core.node.ListNode
-
Copies this
ListNode
. - copy() - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Copies this
MapNode
. - copyFromClassLoader(ClassLoader, String, Path) - Static method in class com.github.siroshun09.configapi.core.util.ResourceUtils
-
Copies a file from classloader.
- copyFromClassLoaderIfNotExists(ClassLoader, String, Path) - Static method in class com.github.siroshun09.configapi.core.util.ResourceUtils
-
Copies a file from classloader if the
target
not exists. - copyFromJar(Path, String, Path) - Static method in class com.github.siroshun09.configapi.core.util.ResourceUtils
-
Copies a file from jar.
- copyFromJar(JarFile, String, Path) - Static method in class com.github.siroshun09.configapi.core.util.ResourceUtils
-
Copies a file from jar.
- copyFromJarIfNotExists(Path, String, Path) - Static method in class com.github.siroshun09.configapi.core.util.ResourceUtils
-
Copies a file from jar if the
target
not exists. - copyFromJarIfNotExists(JarFile, String, Path) - Static method in class com.github.siroshun09.configapi.core.util.ResourceUtils
-
Copies a file from jar if the
target
not exists. - create() - Static method in interface com.github.siroshun09.configapi.core.node.ListNode
-
Creates a new
ListNode
. - create() - Static method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Creates a new
MapNode
. - create() - Static method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
-
Creates a new
StringNodeVisitor
. - create() - Static method in interface com.github.siroshun09.configapi.core.serialization.registry.DeserializerRegistry
-
Creates a new
DeserializerRegistry
. - create() - Static method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializationRegistry
-
Creates a new
SerializationRegistry
. - create() - Static method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializerRegistry
-
Creates a new
SerializerRegistry
. - create(int) - Static method in interface com.github.siroshun09.configapi.core.node.ListNode
-
Creates a new
ListNode
. - create(KeyGenerator) - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerializer
-
Creates a
RecordSerializer
with theKeyGenerator
. - create(Serializer<? super T, ? extends S>, Deserializer<? super S, ? extends T>) - Static method in interface com.github.siroshun09.configapi.core.serialization.Serialization
- create(Class<? extends R>) - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordDeserializer
-
Creates
RecordDeserializer
of the specifiedRecord
class. - create(Class<? extends R>) - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization
-
Creates a new
RecordSerialization
of the specifiedRecord
class. - create(Class<? extends R>, KeyGenerator) - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordDeserializer
-
Creates
RecordDeserializer
of the specifiedRecord
class. - create(Class<? extends R>, KeyGenerator) - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization
-
Creates a new
RecordSerialization
of the specifiedRecord
class. - create(String) - Static method in interface com.github.siroshun09.configapi.core.comment.SimpleComment
-
Creates a new
SimpleComment
. - create(String, String) - Static method in interface com.github.siroshun09.configapi.core.comment.SimpleComment
-
Creates a new
SimpleComment
. - create(Collection<?>) - Static method in interface com.github.siroshun09.configapi.core.node.ListNode
-
Creates a new
ListNode
with values in the givenCollection
. - create(Map<?, ?>) - Static method in interface com.github.siroshun09.configapi.core.node.MapNode
- create(R) - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordDeserializer
-
Creates
RecordDeserializer
with the default record. - create(R) - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization
-
Creates a new
RecordSerialization
with the default record. - create(R, KeyGenerator) - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordDeserializer
-
Creates
RecordDeserializer
with the default record. - create(R, KeyGenerator) - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization
-
Creates a new
RecordSerialization
with the default record. - createDefaultPrettyPrinter() - Static method in class com.github.siroshun09.configapi.format.jackson.JacksonFormat
-
Creates a
DefaultPrettyPrinter
that prints json like Gson. - createDirectoriesIfNotExists(Path) - Static method in class com.github.siroshun09.configapi.core.util.FileUtils
-
If the directory does not exist in the specified path, creates its parent directory and it.
- createFileIfNotExists(Path) - Static method in class com.github.siroshun09.configapi.core.util.FileUtils
-
If the file does not exist in the specified path, creates its parent directory and it.
- createList(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Creates a new
ListNode
and set it to the specified key. - createMap(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Creates a new
MapNode
and set it to the specified key. - createModule() - Static method in class com.github.siroshun09.configapi.format.jackson.NodeSerialization
-
Creates a new
SimpleModule
that hasNodeSerialization.SERIALIZER
andNodeSerialization.DESERIALIZER
.
D
- DEFAULT - Static variable in class com.github.siroshun09.configapi.core.file.java.binary.BinaryFormat
-
An instance of
BinaryFormat
. - DEFAULT - Static variable in class com.github.siroshun09.configapi.core.file.java.properties.PropertiesFormat
-
A default instance of
PropertiesFormat
. - DEFAULT - Static variable in class com.github.siroshun09.configapi.format.gson.GsonFormat
-
An instance of
GsonFormat
that created from a plainGsonBuilder
. - DEFAULT - Static variable in class com.github.siroshun09.configapi.format.jackson.JacksonFormat
-
An instance of
JacksonFormat
that created from a plainObjectMapper
. - DEFAULT - Static variable in class com.github.siroshun09.configapi.format.yaml.YamlFormat
-
An instance of default
YamlFormat
. - DefaultBoolean - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the default boolean value.
- DefaultByte - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the default byte value.
- DefaultChar - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the default byte value.
- DefaultDouble - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the default double value.
- DefaultEnum - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the default enum value.
- DefaultField - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation to get a default value from the field.
- DefaultFloat - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the default float value.
- DefaultInt - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the default int value.
- DefaultLong - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the default long value.
- DefaultMapKey - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the default key to put the default value to the map.
- DefaultMethod - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation to get a default value from the method.
- DefaultNull - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying
null
as the default value. - defaultRecord(R) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization.Builder
-
Sets the default
Record
. - DefaultShort - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the default short value.
- DefaultString - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the default
String
value. - deserialize(MapNode) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordDeserializer
-
Deserializes the object.
- deserialize(I) - Method in interface com.github.siroshun09.configapi.core.serialization.Deserializer
-
Deserializes the object.
- deserializer() - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization
- deserializer() - Method in interface com.github.siroshun09.configapi.core.serialization.Serialization
-
Gets
Deserializer
which thisSerialization
has. - Deserializer<I,
O> - Interface in com.github.siroshun09.configapi.core.serialization -
An interface to "deserialize" objects to other types.
- DESERIALIZER - Static variable in class com.github.siroshun09.configapi.format.jackson.NodeSerialization
-
A
JsonDeserializer
forMapNode
. - DeserializerRegistry<S> - Interface in com.github.siroshun09.configapi.core.serialization.registry
-
A registry that manages
Deserializer
s. - DoubleArray - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a double array. - DoubleArray(double[]) - Constructor for record class com.github.siroshun09.configapi.core.node.DoubleArray
-
Creates an instance of a
DoubleArray
record class. - doubleValue() - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
-
Returns the value of the
doubleValue
record component. - DoubleValue - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a double value. - DoubleValue(double) - Constructor for record class com.github.siroshun09.configapi.core.node.DoubleValue
-
Creates an instance of a
DoubleValue
record class.
E
- empty() - Static method in interface com.github.siroshun09.configapi.core.node.ListNode
-
Gets a
ListNode
that is always empty. - empty() - Static method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets a
MapNode
that is always empty. - empty() - Static method in interface com.github.siroshun09.configapi.core.serialization.registry.DeserializerRegistry
-
Returns an empty
DeserializerRegistry
. - empty() - Static method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializationRegistry
-
Returns an empty
SerializationRegistry
. - empty() - Static method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializerRegistry
-
Returns an empty
SerializerRegistry
. - EMPTY - Static variable in record class com.github.siroshun09.configapi.core.node.StringValue
-
A
StringValue
that represents an empty string. - endList(ListNode) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Ends visiting a
ListNode
. - endList(ListNode) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- endMap(MapNode) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Ends visiting a
MapNode
. - endMap(MapNode) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- EnumValue<E extends Enum<E>> - Record Class in com.github.siroshun09.configapi.core.node
- EnumValue(E) - Constructor for record class com.github.siroshun09.configapi.core.node.EnumValue
-
A constructor of
EnumValue
. - equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.BooleanArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.BooleanValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.ByteArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.CharArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.CharValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.github.siroshun09.configapi.core.node.CommentedNode
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.DoubleArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.EnumValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.FloatArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.IntArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.IntValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.LongArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.LongValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.ObjectNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.ShortArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.core.node.StringValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlBlockComment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlInlineComment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlNodeComment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlRootComment
-
Indicates whether some other object is "equal to" this one.
F
- FALSE - Static variable in record class com.github.siroshun09.configapi.core.node.BooleanValue
-
An instance of
BooleanValue
that indicatesfalse
. - FileFormat<N extends Node<?>> - Interface in com.github.siroshun09.configapi.core.file
-
An interface for loading/saving
Node
s from/to files. - FileUtils - Class in com.github.siroshun09.configapi.core.util
-
Utility class used for internal processing of this library
- FloatArray - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a float array. - FloatArray(float[]) - Constructor for record class com.github.siroshun09.configapi.core.node.FloatArray
-
Creates an instance of a
FloatArray
record class. - floatValue() - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
-
Returns the value of the
floatValue
record component. - FloatValue - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a float value. - FloatValue(float) - Constructor for record class com.github.siroshun09.configapi.core.node.FloatValue
-
Creates an instance of a
FloatValue
record class. - flowStyle(DumperOptions.FlowStyle) - Method in class com.github.siroshun09.configapi.format.yaml.YamlFormat.Builder
-
Sets
DumperOptions.FlowStyle
. - footer() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlRootComment
-
Returns the value of the
footer
record component. - freeze() - Method in interface com.github.siroshun09.configapi.core.serialization.registry.DeserializerRegistry
-
Freezes this
DeserializerRegistry
. - freeze() - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializationRegistry
-
Freezes this
SerializationRegistry
. - freeze() - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializerRegistry
-
Freezes this
SerializerRegistry
. - fromBoolean(boolean) - Static method in record class com.github.siroshun09.configapi.core.node.BooleanValue
-
Creates a
BooleanValue
from the given boolean. - fromBoolean(Boolean) - Static method in record class com.github.siroshun09.configapi.core.node.BooleanValue
-
Creates a
BooleanValue
from the givenBoolean
. - fromNumber(Number) - Static method in interface com.github.siroshun09.configapi.core.node.NumberValue
-
Creates
NumberValue
from the givenNumber
. - fromObject(Object) - Static method in interface com.github.siroshun09.configapi.core.node.Node
-
Creates a
Node
from the specified object. - fromString(String) - Static method in record class com.github.siroshun09.configapi.core.node.StringValue
-
Creates a
StringValue
from the given string or returnsStringValue.EMPTY
if the given string is empty.
G
- generate(String) - Method in interface com.github.siroshun09.configapi.core.serialization.key.KeyGenerator
-
Generates the key from the given string.
- get(Class<T>) - Method in interface com.github.siroshun09.configapi.core.serialization.registry.DeserializerRegistry
-
Gets the
Deserializer
associated with the specified class. - get(Class<T>) - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializationRegistry
-
Gets the
Serialization
associated with the specified class. - get(Class<T>) - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializerRegistry
-
Gets the
Serializer
associated with the specified class. - get(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets a
Node
to which the specified key is mapped, orNullNode.NULL
if thisMapNode
contains no mapping for the key. - getAsOptional(Class<T>) - Method in interface com.github.siroshun09.configapi.core.serialization.registry.DeserializerRegistry
-
Gets the
Deserializer
associated with the specified class. - getAsOptional(Class<T>) - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializationRegistry
-
Gets the
Serialization
associated with the specified class. - getAsOptional(Class<T>) - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializerRegistry
-
Gets the
Serializer
associated with the specified class. - getBoolean(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the boolean value to which the specified key is mapped, or
false
. - getBoolean(Object, boolean) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the boolean value to which the specified key is mapped, or the specified boolean value.
- getByte(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the byte value to which the specified key is mapped, or
0
. - getByte(Object, byte) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the byte value to which the specified key is mapped, or the specified byte value.
- getChar(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the char value to which the specified key is mapped, or
false
. - getChar(Object, char) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the char value to which the specified key is mapped, or the specified char value.
- getComment() - Method in interface com.github.siroshun09.configapi.core.node.CommentableNode
-
Gets the
Comment
. - getComment() - Method in class com.github.siroshun09.configapi.core.node.CommentedNode
- getCommentOrNull() - Method in interface com.github.siroshun09.configapi.core.node.CommentableNode
- getDouble(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the double value to which the specified key is mapped, or
0
. - getDouble(Object, double) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the double value to which the specified key is mapped, or the specified double value.
- getEnum(Object, Class<E>) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
- getEnum(Object, E) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
- getFloat(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the float value to which the specified key is mapped, or
0
. - getFloat(Object, float) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the float value to which the specified key is mapped, or the specified float value.
- getInputStreamFromClassLoader(ClassLoader, String) - Static method in class com.github.siroshun09.configapi.core.util.ResourceUtils
-
Gets an
InputStream
from theClassLoader
. - getInputStreamFromJar(JarFile, String) - Static method in class com.github.siroshun09.configapi.core.util.ResourceUtils
-
Gets an
InputStream
from theJarFile
. - getInteger(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the int value to which the specified key is mapped, or
0
. - getInteger(Object, int) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the int value to which the specified key is mapped, or the specified int value.
- getList(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the
ListNode
to which the specified key is mapped. - getLong(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the long value to which the specified key is mapped, or
0
. - getLong(Object, long) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the long value to which the specified key is mapped, or the specified long value.
- getMap(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the
MapNode
to which the specified key is mapped. - getOrCreateList(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the
ListNode
to which the specified key is mapped, or creates a newListNode
usingMapNode.createList(Object)
. - getOrCreateMap(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the
MapNode
to which the specified key is mapped, or creates a newMapNode
usingMapNode.createMap(Object)
. - getOrDefault(Object, Node<?>) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
- getShort(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the short value to which the specified key is mapped, or
0
. - getShort(Object, short) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the short value to which the specified key is mapped, or the specified short value.
- getString(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
- getString(Object, String) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the
String
value to which the specified key is mapped, or the specified value. - getStringOrNull(Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Gets the
String
value to which the specified key is mapped, ornull
. - GsonFormat - Class in com.github.siroshun09.configapi.format.gson
- GsonFormat(GsonBuilder) - Constructor for class com.github.siroshun09.configapi.format.gson.GsonFormat
-
Creates a new
GsonFormat
from theGsonBuilder
.
H
- hasComment() - Method in interface com.github.siroshun09.configapi.core.node.CommentableNode
-
Checks if this
CommentableNode
has theComment
. - hasComment() - Method in class com.github.siroshun09.configapi.core.node.CommentedNode
- hasDeserializer() - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization
- hasDeserializer() - Method in interface com.github.siroshun09.configapi.core.serialization.Serialization
-
Checks if this
Serialization
hasDeserializer
. - hashCode() - Method in record class com.github.siroshun09.configapi.core.node.BooleanArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.BooleanValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.ByteArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.CharArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.CharValue
-
Returns a hash code value for this object.
- hashCode() - Method in class com.github.siroshun09.configapi.core.node.CommentedNode
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.DoubleArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.EnumValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.FloatArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.IntArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.IntValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.LongArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.LongValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.ObjectNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.ShortArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.core.node.StringValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlBlockComment
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlInlineComment
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlNodeComment
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlRootComment
-
Returns a hash code value for this object.
- hasSerializer() - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization
- hasSerializer() - Method in interface com.github.siroshun09.configapi.core.serialization.Serialization
-
Checks if this
Serialization
hasSerializer
. - hasValue() - Method in record class com.github.siroshun09.configapi.core.node.BooleanValue
- hasValue() - Method in record class com.github.siroshun09.configapi.core.node.CharValue
- hasValue() - Method in interface com.github.siroshun09.configapi.core.node.Node
-
Checks if this
Node
holds an object. - hasValue() - Method in class com.github.siroshun09.configapi.core.node.NullNode
- hasValue() - Method in interface com.github.siroshun09.configapi.core.node.NumberValue
- hasValue() - Method in record class com.github.siroshun09.configapi.core.node.StringValue
- header() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlRootComment
-
Returns the value of the
header
record component.
I
- IMPLEMENTATION_CLASS - Static variable in interface com.github.siroshun09.configapi.core.node.ListNode
-
An implementation
Class
of this interface. - IMPLEMENTATION_CLASS - Static variable in interface com.github.siroshun09.configapi.core.node.MapNode
-
An implementation
Class
of this interface. - indent(int) - Method in class com.github.siroshun09.configapi.format.yaml.YamlFormat.Builder
-
Sets number of spaces as indentation.
- inline() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlNodeComment
-
Returns the value of the
inline
record component. - Inline - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for indicating the annotated field must be processed as "inline".
- IntArray - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds an int array. - IntArray(int[]) - Constructor for record class com.github.siroshun09.configapi.core.node.IntArray
-
Creates an instance of a
IntArray
record class. - intValue() - Method in record class com.github.siroshun09.configapi.core.node.IntValue
-
Returns the value of the
intValue
record component. - IntValue - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a int value. - IntValue(int) - Constructor for record class com.github.siroshun09.configapi.core.node.IntValue
-
Creates an instance of a
IntValue
record class. - isFrozen() - Method in interface com.github.siroshun09.configapi.core.serialization.registry.DeserializerRegistry
-
Checks if this
DeserializerRegistry
is frozen. - isFrozen() - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializationRegistry
-
Checks if this
SerializationRegistry
is frozen. - isFrozen() - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializerRegistry
-
Checks if this
SerializerRegistry
is frozen.
J
- JacksonFormat - Class in com.github.siroshun09.configapi.format.jackson
-
A
FileFormat
implementation that loading/savingMapNode
from/to json files using Jackson'sObjectMapper
. - JacksonFormat(ObjectMapper) - Constructor for class com.github.siroshun09.configapi.format.jackson.JacksonFormat
-
The constructor of
JacksonFormat
.
K
- key() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.MapType
-
Returns the type of the key of the map.
- Key - Annotation Interface in com.github.siroshun09.configapi.core.serialization.key
-
An annotation that tells the serializer/deserializer to use the specified key.
- keyGenerator(KeyGenerator) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordDeserializer.Builder
-
Sets the
KeyGenerator
. - keyGenerator(KeyGenerator) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization.Builder
-
Sets the
KeyGenerator
. - keyGenerator(KeyGenerator) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerializer.Builder
-
Sets the
KeyGenerator
. - KeyGenerator - Interface in com.github.siroshun09.configapi.core.serialization.key
-
An interface to generated keys from strings.
L
- ListNode - Interface in com.github.siroshun09.configapi.core.node
- load(InputStream) - Method in interface com.github.siroshun09.configapi.core.file.FileFormat
-
Loads a node from a
InputStream
. - load(InputStream) - Method in class com.github.siroshun09.configapi.core.file.java.binary.BinaryFormat
- load(Reader) - Method in interface com.github.siroshun09.configapi.core.file.FileFormat
-
Loads a node from a
Reader
. - load(Reader) - Method in class com.github.siroshun09.configapi.core.file.java.binary.BinaryFormat
-
Deprecated.Not supported
- load(Reader) - Method in class com.github.siroshun09.configapi.core.file.java.properties.PropertiesFormat
- load(Reader) - Method in class com.github.siroshun09.configapi.format.gson.GsonFormat
- load(Reader) - Method in class com.github.siroshun09.configapi.format.jackson.JacksonFormat
- load(Reader) - Method in class com.github.siroshun09.configapi.format.yaml.YamlFormat
- load(Path) - Method in interface com.github.siroshun09.configapi.core.file.FileFormat
-
Loads a node from a file.
- load(Path) - Method in class com.github.siroshun09.configapi.core.file.java.binary.BinaryFormat
- load(Path) - Method in class com.github.siroshun09.configapi.format.jackson.JacksonFormat
- LongArray - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a long array. - LongArray(long[]) - Constructor for record class com.github.siroshun09.configapi.core.node.LongArray
-
Creates an instance of a
LongArray
record class. - longValue() - Method in record class com.github.siroshun09.configapi.core.node.LongValue
-
Returns the value of the
longValue
record component. - LongValue - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a long value. - LongValue(long) - Constructor for record class com.github.siroshun09.configapi.core.node.LongValue
-
Creates an instance of a
LongValue
record class.
M
- mapFlowStyle(DumperOptions.FlowStyle) - Method in class com.github.siroshun09.configapi.format.yaml.YamlFormat.Builder
-
Sets
DumperOptions.FlowStyle
for maps. - MapNode - Interface in com.github.siroshun09.configapi.core.node
- MapType - Annotation Interface in com.github.siroshun09.configapi.core.serialization.annotation
-
An annotation for specifying the type of the key/value of the map.
N
- name() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultField
-
Returns the field name.
- name() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultMethod
-
Returns the method name.
- node() - Method in class com.github.siroshun09.configapi.core.node.CommentedNode
-
Gets the wrapped
Node
. - Node<T> - Interface in com.github.siroshun09.configapi.core.node
-
An interface that holds an object or value
- NodeSerialization - Class in com.github.siroshun09.configapi.format.jackson
-
A class that provides serialization of
MapNode
for Jackson. - NodeSerialization() - Constructor for class com.github.siroshun09.configapi.format.jackson.NodeSerialization
- NodeVisitor - Interface in com.github.siroshun09.configapi.core.node.visitor
-
A visitor of
Node
s. - NULL - Static variable in class com.github.siroshun09.configapi.core.node.NullNode
-
An instance of
NullNode
. - NullNode - Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that representsnull
. - NumberValue - Interface in com.github.siroshun09.configapi.core.node
-
An interface to represent that
Node
holds number.
O
- ObjectNode<T> - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds an object. - ObjectNode(T) - Constructor for record class com.github.siroshun09.configapi.core.node.ObjectNode
-
Creates an instance of a
ObjectNode
record class. - onlyDeserializer(Deserializer<? super S, ? extends T>) - Static method in interface com.github.siroshun09.configapi.core.serialization.Serialization
-
Creates a new
Serialization
fromDeserializer
. - onlySerializer(Serializer<? super T, ? extends S>) - Static method in interface com.github.siroshun09.configapi.core.serialization.Serialization
-
Creates a new
Serialization
fromSerializer
.
P
- prependBlankLines() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlBlockComment
-
Returns the value of the
prependBlankLines
record component. - PRETTY_PRINTING - Static variable in class com.github.siroshun09.configapi.format.gson.GsonFormat
-
An instance of
GsonFormat
that created from aGsonBuilder
that set pretty printing. - PRETTY_PRINTING - Static variable in class com.github.siroshun09.configapi.format.jackson.JacksonFormat
-
An instance of
JacksonFormat
that created from aObjectMapper
that is enabled pretty printing. - processComment(boolean) - Method in class com.github.siroshun09.configapi.format.yaml.YamlFormat.Builder
-
Sets whether to process comments.
- PropertiesFormat - Class in com.github.siroshun09.configapi.core.file.java.properties
-
A
FileFormat
implementation that loading/savingMapNode
from/to properties files.
R
- RecordDeserializer<R extends Record> - Class in com.github.siroshun09.configapi.core.serialization.record
- RecordDeserializer.Builder<R extends Record> - Class in com.github.siroshun09.configapi.core.serialization.record
-
A
RecordDeserializer.Builder
class forRecordDeserializer
. - RecordSerialization<R extends Record> - Class in com.github.siroshun09.configapi.core.serialization.record
-
A
Serialization
implementation forRecord
class. - RecordSerialization.Builder<R extends Record> - Class in com.github.siroshun09.configapi.core.serialization.record
-
A
RecordSerialization.Builder
class forRecordSerialization
. - RecordSerializer<R extends Record> - Class in com.github.siroshun09.configapi.core.serialization.record
- RecordSerializer.Builder<R extends Record> - Class in com.github.siroshun09.configapi.core.serialization.record
-
A
RecordSerializer.Builder
class forRecordSerializer
. - register(Class<T>, Deserializer<? super S, ? extends T>) - Method in interface com.github.siroshun09.configapi.core.serialization.registry.DeserializerRegistry
-
Registers
Deserializer
. - register(Class<T>, Serialization<? super T, ? extends S>) - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializationRegistry
-
Registers
Serialization
. - register(Class<T>, Serializer<? super T, ? extends S>) - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializerRegistry
-
Registers
Serializer
. - registerAll(DeserializerRegistry<S>) - Method in interface com.github.siroshun09.configapi.core.serialization.registry.DeserializerRegistry
-
Registers
Deserializer
s in the givenDeserializerRegistry
. - registerAll(SerializationRegistry<S>) - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializationRegistry
-
Registers
Serialization
s in the givenSerializationRegistry
. - registerAll(SerializerRegistry<S>) - Method in interface com.github.siroshun09.configapi.core.serialization.registry.SerializerRegistry
-
Registers
Serializer
s in the givenSerializerRegistry
. - remove(Object) - Method in interface com.github.siroshun09.configapi.core.node.ListNode
-
Removes an object from this
ListNode
. - removeIf(Predicate<Node<?>>) - Method in interface com.github.siroshun09.configapi.core.node.ListNode
-
Removes the elements from this
ListNode
that satisfy the given predicate. - ResourceUtils - Class in com.github.siroshun09.configapi.core.util
-
A utility class that provides methods to copy files contained in a jar.
S
- save(MapNode, Writer) - Method in class com.github.siroshun09.configapi.core.file.java.properties.PropertiesFormat
- save(MapNode, Writer) - Method in class com.github.siroshun09.configapi.format.gson.GsonFormat
- save(MapNode, Writer) - Method in class com.github.siroshun09.configapi.format.jackson.JacksonFormat
- save(MapNode, Writer) - Method in class com.github.siroshun09.configapi.format.yaml.YamlFormat
- save(Node<?>, OutputStream) - Method in class com.github.siroshun09.configapi.core.file.java.binary.BinaryFormat
- save(Node<?>, Writer) - Method in class com.github.siroshun09.configapi.core.file.java.binary.BinaryFormat
-
Deprecated.Not supported
- save(Node<?>, Path) - Method in class com.github.siroshun09.configapi.core.file.java.binary.BinaryFormat
- save(N, OutputStream) - Method in interface com.github.siroshun09.configapi.core.file.FileFormat
-
Saves a node to a
OutputStream
. - save(N, Writer) - Method in interface com.github.siroshun09.configapi.core.file.FileFormat
-
Saves a node to a
Writer
. - save(N, Path) - Method in interface com.github.siroshun09.configapi.core.file.FileFormat
-
Saves a node to a file.
- scalarStyle(DumperOptions.ScalarStyle) - Method in class com.github.siroshun09.configapi.format.yaml.YamlFormat.Builder
-
Sets
DumperOptions.ScalarStyle
. - sequenceFlowStyle(DumperOptions.FlowStyle) - Method in class com.github.siroshun09.configapi.format.yaml.YamlFormat.Builder
-
Sets
DumperOptions.FlowStyle
for sequences. - Serialization<T,
S> - Interface in com.github.siroshun09.configapi.core.serialization -
An interface that holds
Serializer
and/orDeserializer
. - SerializationException - Exception in com.github.siroshun09.configapi.core.serialization
-
A
RuntimeException
that will be thrown when errors occurred while serializing/deserializing objects. - SerializationException() - Constructor for exception com.github.siroshun09.configapi.core.serialization.SerializationException
-
Creates
SerializationException
with no message and no cause. - SerializationException(String) - Constructor for exception com.github.siroshun09.configapi.core.serialization.SerializationException
-
Creates
SerializationException
with the message. - SerializationException(String, Throwable) - Constructor for exception com.github.siroshun09.configapi.core.serialization.SerializationException
-
Creates
SerializationException
with the message and otherThrowable
. - SerializationException(Throwable) - Constructor for exception com.github.siroshun09.configapi.core.serialization.SerializationException
-
Creates
SerializationException
with otherThrowable
. - SerializationRegistry<S> - Interface in com.github.siroshun09.configapi.core.serialization.registry
-
A registry that manages
Serialization
s. - serialize(I) - Method in interface com.github.siroshun09.configapi.core.serialization.Serializer
-
Serializes the object.
- serialize(R) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerializer
-
Serializes the object.
- serializeDefault(Class<? extends R>) - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerializer
-
Creates a default
MapNode
from the given record class. - serializer() - Method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerialization
- serializer() - Static method in class com.github.siroshun09.configapi.core.serialization.record.RecordSerializer
-
Gets the default
RecordSerializer
. - serializer() - Method in interface com.github.siroshun09.configapi.core.serialization.Serialization
-
Gets
Serializer
which thisSerialization
has. - Serializer<I,
O> - Interface in com.github.siroshun09.configapi.core.serialization -
An interface to "serialize" objects to other types.
- SERIALIZER - Static variable in class com.github.siroshun09.configapi.format.jackson.NodeSerialization
-
A
JsonSerializer
forMapNode
. - SerializerRegistry<S> - Interface in com.github.siroshun09.configapi.core.serialization.registry
-
A registry that manages
Serializer
s. - set(Object, Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
-
Sets a
Node
to the specified key. - setComment(Comment) - Method in interface com.github.siroshun09.configapi.core.node.CommentableNode
-
Sets the
Comment
. - setComment(Comment) - Method in class com.github.siroshun09.configapi.core.node.CommentedNode
- setIfAbsent(Object, Object) - Method in interface com.github.siroshun09.configapi.core.node.MapNode
- setObjectAppender(StringNodeVisitor.Appender<Object>) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor.Builder
-
Sets a
StringNodeVisitor.Appender
forObjectNode
s. - setStringAppender(StringNodeVisitor.Appender<String>) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor.Builder
-
Sets a
StringNodeVisitor.Appender
forStringValue
s. - setStringBuilder(StringBuilder) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor.Builder
-
Sets a
StringBuilder
to append string-represented nodes. - ShortArray - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a short array. - ShortArray(short[]) - Constructor for record class com.github.siroshun09.configapi.core.node.ShortArray
-
Creates an instance of a
ShortArray
record class. - shortValue() - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
-
Returns the value of the
shortValue
record component. - ShortValue - Record Class in com.github.siroshun09.configapi.core.node
-
A
Node
implementation that holds a short value. - ShortValue(short) - Constructor for record class com.github.siroshun09.configapi.core.node.ShortValue
-
Creates an instance of a
ShortValue
record class. - SimpleComment - Interface in com.github.siroshun09.configapi.core.comment
-
An interface that has the comment as a
String
. - SKIP - Enum constant in enum class com.github.siroshun09.configapi.core.node.visitor.VisitResult
- startList(ListNode) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Starts visiting a
ListNode
. - startList(ListNode) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- startMap(MapNode) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Starts visiting a
MapNode
. - startMap(MapNode) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- STOP - Enum constant in enum class com.github.siroshun09.configapi.core.node.visitor.VisitResult
-
Stops visiting
Node
s. - stream() - Method in interface com.github.siroshun09.configapi.core.node.ListNode
-
Creates a
Stream
from an internal list. - StringNodeVisitor - Class in com.github.siroshun09.configapi.core.node.visitor
- StringNodeVisitor.Appender<T> - Interface in com.github.siroshun09.configapi.core.node.visitor
-
An interface to appends an object to
StringBuilder
. - StringNodeVisitor.Builder - Class in com.github.siroshun09.configapi.core.node.visitor
-
A builder class of
StringNodeVisitor
. - StringRepresentable - Interface in com.github.siroshun09.configapi.core.node
- StringValue - Record Class in com.github.siroshun09.configapi.core.node
- StringValue(String) - Constructor for record class com.github.siroshun09.configapi.core.node.StringValue
-
A constructor of
StringValue
.
T
- toString() - Method in record class com.github.siroshun09.configapi.core.node.BooleanArray
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.BooleanValue
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.ByteArray
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.CharArray
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.CharValue
-
Returns a string representation of this record class.
- toString() - Method in class com.github.siroshun09.configapi.core.node.CommentedNode
- toString() - Method in record class com.github.siroshun09.configapi.core.node.DoubleArray
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.EnumValue
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.FloatArray
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.IntArray
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.IntValue
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.LongArray
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.LongValue
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.ObjectNode
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.ShortArray
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.core.node.StringValue
-
Returns a string representation of this record class.
- toString() - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
-
Gets the result of string representation of
Node
s. - toString() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlBlockComment
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlInlineComment
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlNodeComment
-
Returns a string representation of this record class.
- toString() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlRootComment
-
Returns a string representation of this record class.
- TRUE - Static variable in record class com.github.siroshun09.configapi.core.node.BooleanValue
-
An instance of
BooleanValue
that indicatestrue
. - type() - Method in interface com.github.siroshun09.configapi.core.comment.SimpleComment
-
Returns the type of this comment.
- type() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.Comment
-
Returns the type of the comment.
- type() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlBlockComment
- type() - Method in record class com.github.siroshun09.configapi.format.yaml.comment.YamlInlineComment
- TYPE - Static variable in record class com.github.siroshun09.configapi.format.yaml.comment.YamlBlockComment
-
The type of this comment.
- TYPE - Static variable in record class com.github.siroshun09.configapi.format.yaml.comment.YamlInlineComment
-
The type of this comment.
V
- value() - Method in record class com.github.siroshun09.configapi.core.node.BooleanArray
-
Returns the value of the
value
record component. - value() - Method in record class com.github.siroshun09.configapi.core.node.BooleanValue
- value() - Method in record class com.github.siroshun09.configapi.core.node.ByteArray
-
Returns the value of the
value
record component. - value() - Method in record class com.github.siroshun09.configapi.core.node.ByteValue
- value() - Method in record class com.github.siroshun09.configapi.core.node.CharArray
-
Returns the value of the
value
record component. - value() - Method in record class com.github.siroshun09.configapi.core.node.CharValue
- value() - Method in class com.github.siroshun09.configapi.core.node.CommentedNode
- value() - Method in record class com.github.siroshun09.configapi.core.node.DoubleArray
-
Returns the value of the
value
record component. - value() - Method in record class com.github.siroshun09.configapi.core.node.DoubleValue
- value() - Method in record class com.github.siroshun09.configapi.core.node.EnumValue
-
Returns the value of the
value
record component. - value() - Method in record class com.github.siroshun09.configapi.core.node.FloatArray
-
Returns the value of the
value
record component. - value() - Method in record class com.github.siroshun09.configapi.core.node.FloatValue
- value() - Method in record class com.github.siroshun09.configapi.core.node.IntArray
-
Returns the value of the
value
record component. - value() - Method in record class com.github.siroshun09.configapi.core.node.IntValue
- value() - Method in interface com.github.siroshun09.configapi.core.node.ListNode
- value() - Method in record class com.github.siroshun09.configapi.core.node.LongArray
-
Returns the value of the
value
record component. - value() - Method in record class com.github.siroshun09.configapi.core.node.LongValue
- value() - Method in interface com.github.siroshun09.configapi.core.node.MapNode
- value() - Method in interface com.github.siroshun09.configapi.core.node.Node
-
Gets an object which this
Node
holds - value() - Method in class com.github.siroshun09.configapi.core.node.NullNode
- value() - Method in record class com.github.siroshun09.configapi.core.node.ObjectNode
-
Returns the value of the
value
record component. - value() - Method in record class com.github.siroshun09.configapi.core.node.ShortArray
-
Returns the value of the
value
record component. - value() - Method in record class com.github.siroshun09.configapi.core.node.ShortValue
- value() - Method in record class com.github.siroshun09.configapi.core.node.StringValue
-
Returns the value of the
value
record component. - value() - Method in interface com.github.siroshun09.configapi.core.node.ValueNode
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.CollectionType
-
Returns the element type of the collection
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.Comment
-
Returns the content of the comment.
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultBoolean
-
Returns the default boolean value.
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultByte
-
Returns the default byte value.
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultChar
-
Returns the default char value.
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultDouble
-
Returns the default double value.
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultEnum
-
Returns the name of the default enum value.
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultFloat
-
Returns the default float value.
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultInt
-
Returns the default int value.
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultLong
-
Returns the default long value.
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultMapKey
-
Returns default key of the map.
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultShort
-
Returns the default short value.
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.DefaultString
-
Returns the default
String
value. - value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.annotation.MapType
-
Returns the type of the value of the map.
- value() - Element in annotation interface com.github.siroshun09.configapi.core.serialization.key.Key
-
A
String
to use as a key in the serializer/deserializer - ValueNode<T> - Interface in com.github.siroshun09.configapi.core.node
-
An interface to represents that
Node
holds a value or value based object. - valueOf(String) - Static method in enum class com.github.siroshun09.configapi.core.node.visitor.VisitResult
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.github.siroshun09.configapi.core.node.visitor.VisitResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
- visit(BooleanArray) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
BooleanArray
. - visit(BooleanArray) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(BooleanValue) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
BooleanValue
. - visit(BooleanValue) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(ByteArray) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
ByteArray
. - visit(ByteArray) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(ByteValue) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
ByteValue
. - visit(ByteValue) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(CharArray) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
CharArray
. - visit(CharArray) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(CharValue) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
CharValue
. - visit(CharValue) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(CommentedNode<?>) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
CommentedNode
. - visit(CommentedNode<?>) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(DoubleArray) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
DoubleArray
. - visit(DoubleArray) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(DoubleValue) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
DoubleValue
. - visit(DoubleValue) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(EnumValue<?>) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
EnumValue
. - visit(EnumValue<?>) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(FloatArray) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
FloatArray
. - visit(FloatArray) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(FloatValue) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
FloatValue
. - visit(FloatValue) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(IntArray) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
IntArray
. - visit(IntArray) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(IntValue) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
IntValue
. - visit(IntValue) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(LongArray) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
LongArray
. - visit(LongArray) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(LongValue) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
LongValue
. - visit(LongValue) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(NullNode) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
NullNode
. - visit(NullNode) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(ObjectNode<?>) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
ObjectNode
. - visit(ObjectNode<?>) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(ShortArray) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
ShortArray
. - visit(ShortArray) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(ShortValue) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
ShortValue
. - visit(ShortValue) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visit(StringValue) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits a
StringValue
. - visit(StringValue) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visitElement(int, Node<?>) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits
ListNode
's element. - visitElement(int, Node<?>) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- visitEntry(int, Object, Node<?>) - Method in interface com.github.siroshun09.configapi.core.node.visitor.NodeVisitor
-
Visits
MapNode
's entry. - visitEntry(int, Object, Node<?>) - Method in class com.github.siroshun09.configapi.core.node.visitor.StringNodeVisitor
- VisitResult - Enum Class in com.github.siroshun09.configapi.core.node.visitor
-
Results of visiting a
Node
.
W
- withComment(Node<T>, Comment) - Static method in interface com.github.siroshun09.configapi.core.node.CommentableNode
-
Creates a
CommentableNode
with the specifiedComment
.
Y
- YamlBlockComment - Record Class in com.github.siroshun09.configapi.format.yaml.comment
-
A
SimpleComment
implementation that holds the block comments in Yaml. - YamlBlockComment(String, int) - Constructor for record class com.github.siroshun09.configapi.format.yaml.comment.YamlBlockComment
-
Creates an instance of a
YamlBlockComment
record class. - YamlFormat - Class in com.github.siroshun09.configapi.format.yaml
-
A
FileFormat
implementation that loading/savingMapNode
from/to yaml files. - YamlFormat.Builder - Class in com.github.siroshun09.configapi.format.yaml
-
A builder of
YamlFormat
. - YamlInlineComment - Record Class in com.github.siroshun09.configapi.format.yaml.comment
-
A
SimpleComment
implementation that holds the inline comments in Yaml. - YamlInlineComment(String) - Constructor for record class com.github.siroshun09.configapi.format.yaml.comment.YamlInlineComment
-
Creates an instance of a
YamlInlineComment
record class. - YamlNodeComment - Record Class in com.github.siroshun09.configapi.format.yaml.comment
- YamlNodeComment(YamlBlockComment, YamlInlineComment) - Constructor for record class com.github.siroshun09.configapi.format.yaml.comment.YamlNodeComment
-
Creates an instance of a
YamlNodeComment
record class. - YamlRootComment - Record Class in com.github.siroshun09.configapi.format.yaml.comment
-
A
Comment
implementation that can have the header and footer of the root node. - YamlRootComment(YamlBlockComment, YamlBlockComment) - Constructor for record class com.github.siroshun09.configapi.format.yaml.comment.YamlRootComment
-
Creates an instance of a
YamlRootComment
record class.
Z
- ZERO - Static variable in interface com.github.siroshun09.configapi.core.node.NumberValue
-
A
NumberValue
that represents zero.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form