Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- accept(NodeVisitor) - Method in class dev.siroshun.configapi.core.node.CommentedNode
- accept(NodeVisitor) - Method in interface dev.siroshun.configapi.core.node.Node
-
Accepts a
NodeVisitorfor thisNode. - accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.ObjectNode
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.BooleanArray
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.BooleanValue
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.ByteArray
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.ByteValue
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.CharArray
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.CharValue
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.DoubleArray
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.DoubleValue
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.EnumValue
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.FloatArray
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.FloatValue
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.IntArray
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.IntValue
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.LongArray
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.LongValue
- accept(NodeVisitor) - Method in class dev.siroshun.configapi.core.node.NullNode
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.ShortArray
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.ShortValue
- accept(NodeVisitor) - Method in record class dev.siroshun.configapi.core.node.StringValue
- add(Object) - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Adds a new object to this
ListNode. - addAll(ListNode) - Method in interface dev.siroshun.configapi.core.node.ListNode
- addAll(Collection<?>) - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Adds new objects in the given
Collectionto thisListNode. - addDeserializer(Class<T>, Deserializer<? super Node<?>, ? extends T>) - Method in class dev.siroshun.configapi.serialization.record.RecordDeserializer.Builder
-
Adds a
Deserializerfor the specifiesClass. - addDeserializer(Class<T>, Deserializer<? super Node<?>, ? extends T>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
-
Adds a
Deserializerfor the specifiesClass. - addDeserializers(DeserializerRegistry<Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordDeserializer.Builder
-
Adds
Deserializers in theDeserializerRegistry. - addDeserializers(DeserializerRegistry<Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
-
Adds
Deserializers in theDeserializerRegistry. - addList() - Method in interface dev.siroshun.configapi.core.node.ListNode
- addList(int) - Method in interface dev.siroshun.configapi.core.node.ListNode
- addMap() - Method in interface dev.siroshun.configapi.core.node.ListNode
- addSerialization(SerializationRegistry<Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
-
Adds
Serializations in theSerializationRegistry. - addSerialization(Class<T>, Serialization<? super T, ? extends Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
-
Adds a
Serializationfor the specifiesClass. - addSerializer(Class<T>, Serializer<? super T, ? extends Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
-
Adds a
Serializerfor the specifiesClass. - addSerializer(Class<T>, Serializer<? super T, ? extends Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerializer.Builder
-
Adds a
Serializerfor the specifiesClass. - addSerializers(SerializerRegistry<Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
-
Adds
Serializers in theSerializerRegistry. - addSerializers(SerializerRegistry<Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerializer.Builder
-
Adds
Serializers in theSerializerRegistry. - append(T, StringBuilder) - Method in interface dev.siroshun.configapi.core.node.visitor.StringNodeVisitor.Appender
-
Appends an object to
StringBuilder. - appendQuoteAndEscapedString(String, StringBuilder) - Static method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
-
Appends the quoted/escaped
StringtoStringBuilder. - arrayFlowStyle(DumperOptions.FlowStyle) - Method in class dev.siroshun.configapi.format.yaml.YamlFormat.Builder
-
Sets
DumperOptions.FlowStylefor arrays. - ArrayNode<T> - Interface in dev.siroshun.configapi.core.node
-
An interface to represents that
Nodeholds an array. - asBoolean() - Method in record class dev.siroshun.configapi.core.node.BooleanValue
-
Gets the value as a primitive boolean.
- asByte() - Method in record class dev.siroshun.configapi.core.node.ByteValue
- asByte() - Method in record class dev.siroshun.configapi.core.node.DoubleValue
- asByte() - Method in record class dev.siroshun.configapi.core.node.FloatValue
- asByte() - Method in record class dev.siroshun.configapi.core.node.IntValue
- asByte() - Method in record class dev.siroshun.configapi.core.node.LongValue
- asByte() - Method in interface dev.siroshun.configapi.core.node.NumberValue
-
Gets the number as byte.
- asByte() - Method in record class dev.siroshun.configapi.core.node.ShortValue
- asChar() - Method in record class dev.siroshun.configapi.core.node.CharValue
-
Gets the value as a primitive char.
- asDouble() - Method in record class dev.siroshun.configapi.core.node.ByteValue
- asDouble() - Method in record class dev.siroshun.configapi.core.node.DoubleValue
- asDouble() - Method in record class dev.siroshun.configapi.core.node.FloatValue
- asDouble() - Method in record class dev.siroshun.configapi.core.node.IntValue
- asDouble() - Method in record class dev.siroshun.configapi.core.node.LongValue
- asDouble() - Method in interface dev.siroshun.configapi.core.node.NumberValue
-
Gets the number as double.
- asDouble() - Method in record class dev.siroshun.configapi.core.node.ShortValue
- asFloat() - Method in record class dev.siroshun.configapi.core.node.ByteValue
- asFloat() - Method in record class dev.siroshun.configapi.core.node.DoubleValue
- asFloat() - Method in record class dev.siroshun.configapi.core.node.FloatValue
- asFloat() - Method in record class dev.siroshun.configapi.core.node.IntValue
- asFloat() - Method in record class dev.siroshun.configapi.core.node.LongValue
- asFloat() - Method in interface dev.siroshun.configapi.core.node.NumberValue
-
Gets the number as float.
- asFloat() - Method in record class dev.siroshun.configapi.core.node.ShortValue
- asInt() - Method in record class dev.siroshun.configapi.core.node.ByteValue
- asInt() - Method in record class dev.siroshun.configapi.core.node.DoubleValue
- asInt() - Method in record class dev.siroshun.configapi.core.node.FloatValue
- asInt() - Method in record class dev.siroshun.configapi.core.node.IntValue
- asInt() - Method in record class dev.siroshun.configapi.core.node.LongValue
- asInt() - Method in interface dev.siroshun.configapi.core.node.NumberValue
-
Gets the number as int.
- asInt() - Method in record class dev.siroshun.configapi.core.node.ShortValue
- asList(Class<? extends T>) - Method in interface dev.siroshun.configapi.core.node.ListNode
- asLong() - Method in record class dev.siroshun.configapi.core.node.ByteValue
- asLong() - Method in record class dev.siroshun.configapi.core.node.DoubleValue
- asLong() - Method in record class dev.siroshun.configapi.core.node.FloatValue
- asLong() - Method in record class dev.siroshun.configapi.core.node.IntValue
- asLong() - Method in record class dev.siroshun.configapi.core.node.LongValue
- asLong() - Method in interface dev.siroshun.configapi.core.node.NumberValue
-
Gets the number as long.
- asLong() - Method in record class dev.siroshun.configapi.core.node.ShortValue
- asOptional() - Method in interface dev.siroshun.configapi.core.node.Node
-
Gets an object as
Optional. - asOptional() - Method in class dev.siroshun.configapi.core.node.NullNode
- asShort() - Method in record class dev.siroshun.configapi.core.node.ByteValue
- asShort() - Method in record class dev.siroshun.configapi.core.node.DoubleValue
- asShort() - Method in record class dev.siroshun.configapi.core.node.FloatValue
- asShort() - Method in record class dev.siroshun.configapi.core.node.IntValue
- asShort() - Method in record class dev.siroshun.configapi.core.node.LongValue
- asShort() - Method in interface dev.siroshun.configapi.core.node.NumberValue
-
Gets the number as short.
- asShort() - Method in record class dev.siroshun.configapi.core.node.ShortValue
- asString() - Method in record class dev.siroshun.configapi.core.node.BooleanValue
- asString() - Method in record class dev.siroshun.configapi.core.node.ByteValue
- asString() - Method in record class dev.siroshun.configapi.core.node.CharValue
- asString() - Method in record class dev.siroshun.configapi.core.node.DoubleValue
- asString() - Method in record class dev.siroshun.configapi.core.node.EnumValue
- asString() - Method in record class dev.siroshun.configapi.core.node.FloatValue
- asString() - Method in record class dev.siroshun.configapi.core.node.IntValue
- asString() - Method in record class dev.siroshun.configapi.core.node.LongValue
- asString() - Method in record class dev.siroshun.configapi.core.node.ShortValue
- asString() - Method in interface dev.siroshun.configapi.core.node.StringRepresentable
-
Represents as a
String. - asString() - Method in record class dev.siroshun.configapi.core.node.StringValue
-
Gets the value as
String. - asView() - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Gets a view of this
ListNode. - asView() - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets a view of this
MapNode.
B
- BinaryFormat - Class in dev.siroshun.configapi.format.binary
-
A
FileFormatimplementation that loading/savingMapNodefrom/to binary format. - block() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlNodeComment
-
Returns the value of the
blockrecord component. - BooleanArray - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a boolean array. - BooleanArray(boolean[]) - Constructor for record class dev.siroshun.configapi.core.node.BooleanArray
-
A constructor of
BooleanArray. - booleanValue() - Method in record class dev.siroshun.configapi.core.node.BooleanValue
-
Returns the value of the
booleanValuerecord component. - BooleanValue - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a boolean value. - BooleanValue(boolean) - Constructor for record class dev.siroshun.configapi.core.node.BooleanValue
-
A constructor of
BooleanValue. - BREAK - Enum constant in enum class dev.siroshun.configapi.core.node.visitor.VisitResult
- build() - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor.Builder
-
Creates a new
StringBuilder. - build() - Method in class dev.siroshun.configapi.format.yaml.YamlFormat.Builder
-
Builds
YamlFormat. - build() - Method in class dev.siroshun.configapi.serialization.record.RecordDeserializer.Builder
-
Creates a
RecordDeserializerfrom thisRecordDeserializer.Builder. - build() - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
-
Creates
RecordSerializationfrom thisRecordSerialization.Builder. - build() - Method in class dev.siroshun.configapi.serialization.record.RecordSerializer.Builder
-
Creates a
RecordSerializerfrom thisRecordSerializer.Builder. - builder() - Static method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
-
Creates a new
StringNodeVisitor.Builder. - builder() - Static method in class dev.siroshun.configapi.format.yaml.YamlFormat
-
Creates a new
YamlFormat.Builder. - builder() - Static method in class dev.siroshun.configapi.serialization.record.RecordSerializer
-
Creates a new
RecordSerializer.BuilderofRecordSerializer. - builder(Class<? extends R>) - Static method in class dev.siroshun.configapi.serialization.record.RecordDeserializer
-
Creates a new
RecordDeserializer.Builderof the specifiedRecordclass. - builder(Class<? extends R>) - Static method in class dev.siroshun.configapi.serialization.record.RecordSerialization
-
Creates a new
RecordSerialization.Builderof the specifiedRecordclass. - builder(R) - Static method in class dev.siroshun.configapi.serialization.record.RecordDeserializer
-
Creates a new
RecordDeserializer.Builderwith the default record. - builder(R) - Static method in class dev.siroshun.configapi.serialization.record.RecordSerialization
-
Creates a new
RecordSerialization.Builderwith the default record. - ByteArray - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a byte array. - ByteArray(byte[]) - Constructor for record class dev.siroshun.configapi.core.node.ByteArray
-
A constructor of
ByteArray. - byteValue() - Method in record class dev.siroshun.configapi.core.node.ByteValue
-
Returns the value of the
byteValuerecord component. - ByteValue - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a byte value. - ByteValue(byte) - Constructor for record class dev.siroshun.configapi.core.node.ByteValue
-
Creates an instance of a
ByteValuerecord class.
C
- CharArray - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a char array. - CharArray(char[]) - Constructor for record class dev.siroshun.configapi.core.node.CharArray
-
A constructor of
CharArray. - charValue() - Method in record class dev.siroshun.configapi.core.node.CharValue
-
Returns the value of the
charValuerecord component. - CharValue - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a char value. - CharValue(char) - Constructor for record class dev.siroshun.configapi.core.node.CharValue
-
Creates an instance of a
CharValuerecord class. - clear() - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Clears this
ListNode. - clear() - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Clears this
MapNode. - Comment - Interface in dev.siroshun.configapi.core.comment
-
An interface to represent the comment.
- COMMENT_PROCESSING - Static variable in class dev.siroshun.configapi.format.yaml.YamlFormat
-
An instance of
YamlFormatthat processes the comments. - CommentableNode<T> - Interface in dev.siroshun.configapi.core.node
- CommentedNode<T> - Class in dev.siroshun.configapi.core.node
-
An implementation class of the
CommentableNodeto wrap the non-CommentableNodenode and attach theComment. - compareTo(NumberValue) - Method in record class dev.siroshun.configapi.core.node.ByteValue
- compareTo(NumberValue) - Method in record class dev.siroshun.configapi.core.node.DoubleValue
- compareTo(NumberValue) - Method in record class dev.siroshun.configapi.core.node.FloatValue
- compareTo(NumberValue) - Method in record class dev.siroshun.configapi.core.node.IntValue
- compareTo(NumberValue) - Method in record class dev.siroshun.configapi.core.node.LongValue
- compareTo(NumberValue) - Method in record class dev.siroshun.configapi.core.node.ShortValue
- contains(Object) - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Checks if the specified object is contained in this
ListNode. - containsKey(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Checks if the specified key is contained in this
MapNode. - containsValue(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Checks if the specified value is contained in this
MapNode. - content() - Method in interface dev.siroshun.configapi.core.comment.SimpleComment
-
Gets the content.
- content() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlBlockComment
-
Returns the value of the
contentrecord component. - content() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlInlineComment
-
Returns the value of the
contentrecord component. - CONTINUE - Enum constant in enum class dev.siroshun.configapi.core.node.visitor.VisitResult
-
Continues visiting
Nodes. - copy() - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Copies this
ListNode. - copy() - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Copies this
MapNode. - copyFromClassLoader(ClassLoader, String, Path) - Static method in class dev.siroshun.configapi.core.util.ResourceUtils
-
Copies a file from classloader.
- copyFromClassLoaderIfNotExists(ClassLoader, String, Path) - Static method in class dev.siroshun.configapi.core.util.ResourceUtils
-
Copies a file from classloader if the
targetnot exists. - copyFromJar(Path, String, Path) - Static method in class dev.siroshun.configapi.core.util.ResourceUtils
-
Copies a file from jar.
- copyFromJar(JarFile, String, Path) - Static method in class dev.siroshun.configapi.core.util.ResourceUtils
-
Copies a file from jar.
- copyFromJarIfNotExists(Path, String, Path) - Static method in class dev.siroshun.configapi.core.util.ResourceUtils
-
Copies a file from jar if the
targetnot exists. - copyFromJarIfNotExists(JarFile, String, Path) - Static method in class dev.siroshun.configapi.core.util.ResourceUtils
-
Copies a file from jar if the
targetnot exists. - create() - Static method in interface dev.siroshun.configapi.core.node.ListNode
-
Creates a new
ListNode. - create() - Static method in interface dev.siroshun.configapi.core.node.MapNode
-
Creates a new
MapNode. - create() - Static method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
-
Creates a new
StringNodeVisitor. - create(int) - Static method in interface dev.siroshun.configapi.core.node.ListNode
-
Creates a new
ListNode. - create(KeyGenerator) - Static method in class dev.siroshun.configapi.serialization.record.RecordSerializer
-
Creates a
RecordSerializerwith theKeyGenerator. - create(Class<? extends R>) - Static method in class dev.siroshun.configapi.serialization.record.RecordDeserializer
-
Creates
RecordDeserializerof the specifiedRecordclass. - create(Class<? extends R>) - Static method in class dev.siroshun.configapi.serialization.record.RecordSerialization
-
Creates a new
RecordSerializationof the specifiedRecordclass. - create(Class<? extends R>, KeyGenerator) - Static method in class dev.siroshun.configapi.serialization.record.RecordDeserializer
-
Creates
RecordDeserializerof the specifiedRecordclass. - create(Class<? extends R>, KeyGenerator) - Static method in class dev.siroshun.configapi.serialization.record.RecordSerialization
-
Creates a new
RecordSerializationof the specifiedRecordclass. - create(String) - Static method in interface dev.siroshun.configapi.core.comment.SimpleComment
-
Creates a new
SimpleComment. - create(String, String) - Static method in interface dev.siroshun.configapi.core.comment.SimpleComment
-
Creates a new
SimpleComment. - create(Collection<?>) - Static method in interface dev.siroshun.configapi.core.node.ListNode
-
Creates a new
ListNodewith values in the givenCollection. - create(Map<?, ?>) - Static method in interface dev.siroshun.configapi.core.node.MapNode
- create(R) - Static method in class dev.siroshun.configapi.serialization.record.RecordDeserializer
-
Creates
RecordDeserializerwith the default record. - create(R) - Static method in class dev.siroshun.configapi.serialization.record.RecordSerialization
-
Creates a new
RecordSerializationwith the default record. - create(R, KeyGenerator) - Static method in class dev.siroshun.configapi.serialization.record.RecordDeserializer
-
Creates
RecordDeserializerwith the default record. - create(R, KeyGenerator) - Static method in class dev.siroshun.configapi.serialization.record.RecordSerialization
-
Creates a new
RecordSerializationwith the default record. - createDefaultPrettyPrinter() - Static method in class dev.siroshun.configapi.format.jackson.JacksonFormat
-
Creates a
DefaultPrettyPrinterthat prints json like Gson. - createEmptyNode() - Method in class dev.siroshun.configapi.format.gson.GsonArrayFormat
- createEmptyNode() - Method in class dev.siroshun.configapi.format.gson.GsonFormat
- createList(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Creates a new
ListNodeand set it to the specified key. - createMap(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Creates a new
MapNodeand set it to the specified key. - createModule() - Static method in class dev.siroshun.configapi.format.jackson.NodeSerialization
-
Creates a new
SimpleModulethat hasNodeSerialization.SERIALIZERandNodeSerialization.DESERIALIZER.
D
- DEFAULT - Static variable in class dev.siroshun.configapi.format.binary.BinaryFormat
-
An instance of
BinaryFormat. - DEFAULT - Static variable in class dev.siroshun.configapi.format.gson.GsonArrayFormat
-
An instance of
GsonArrayFormatthat created from a plainGsonBuilder. - DEFAULT - Static variable in class dev.siroshun.configapi.format.gson.GsonFormat
-
An instance of
GsonFormatthat created from a plainGsonBuilder. - DEFAULT - Static variable in class dev.siroshun.configapi.format.jackson.JacksonFormat
-
An instance of
JacksonFormatthat created from a plainObjectMapper. - DEFAULT - Static variable in class dev.siroshun.configapi.format.properties.PropertiesFormat
-
A default instance of
PropertiesFormat. - DEFAULT - Static variable in class dev.siroshun.configapi.format.yaml.YamlFormat
-
An instance of default
YamlFormat. - defaultRecord(R) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
-
Sets the default
Record. - deserialize(MapNode) - Method in class dev.siroshun.configapi.serialization.record.RecordDeserializer
- deserializer() - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization
- DESERIALIZER - Static variable in class dev.siroshun.configapi.format.jackson.NodeSerialization
-
A
JsonDeserializerforMapNode. - dev.siroshun.configapi.codec - package dev.siroshun.configapi.codec
- dev.siroshun.configapi.core.comment - package dev.siroshun.configapi.core.comment
-
A package for handling comments.
- dev.siroshun.configapi.core.file - package dev.siroshun.configapi.core.file
-
A package that includes
FileFormat. - dev.siroshun.configapi.core.node - package dev.siroshun.configapi.core.node
-
A package containing interfaces/classes/records for Node structure.
- dev.siroshun.configapi.core.node.visitor - package dev.siroshun.configapi.core.node.visitor
-
A package for classes of visiting
Nodes. - dev.siroshun.configapi.core.util - package dev.siroshun.configapi.core.util
-
The utility package.
- dev.siroshun.configapi.format.binary - package dev.siroshun.configapi.format.binary
-
A package that includes
BinaryFormat. - dev.siroshun.configapi.format.gson - package dev.siroshun.configapi.format.gson
-
A package that includes
GsonFormat. - dev.siroshun.configapi.format.jackson - package dev.siroshun.configapi.format.jackson
-
A package that includes
JacksonFormat, and serializer/deserializer ofMapNodefor Jackson. - dev.siroshun.configapi.format.properties - package dev.siroshun.configapi.format.properties
-
A package that includes
PropertiesFormat. - dev.siroshun.configapi.format.yaml - package dev.siroshun.configapi.format.yaml
-
A package that includes
YamlFormat. - dev.siroshun.configapi.format.yaml.comment - package dev.siroshun.configapi.format.yaml.comment
-
A package of
Commentimplementations for Yaml comment. - dev.siroshun.configapi.serialization.record - package dev.siroshun.configapi.serialization.record
-
A package that includes implementations for
Serializer/Deserializerof the records. - DoubleArray - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a double array. - DoubleArray(double[]) - Constructor for record class dev.siroshun.configapi.core.node.DoubleArray
-
A constructor of
DoubleArray. - doubleValue() - Method in record class dev.siroshun.configapi.core.node.DoubleValue
-
Returns the value of the
doubleValuerecord component. - DoubleValue - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a double value. - DoubleValue(double) - Constructor for record class dev.siroshun.configapi.core.node.DoubleValue
-
Creates an instance of a
DoubleValuerecord class.
E
- empty() - Static method in interface dev.siroshun.configapi.core.node.ListNode
-
Gets a
ListNodethat is always empty. - empty() - Static method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets a
MapNodethat is always empty. - EMPTY - Static variable in record class dev.siroshun.configapi.core.node.StringValue
-
A
StringValuethat represents an empty string. - endList(ListNode) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Ends visiting a
ListNode. - endList(ListNode) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- endMap(MapNode) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Ends visiting a
MapNode. - endMap(MapNode) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- EnumValue<E> - Record Class in dev.siroshun.configapi.core.node
- EnumValue(E) - Constructor for record class dev.siroshun.configapi.core.node.EnumValue
-
A constructor of
EnumValue. - equals(Object) - Method in record class dev.siroshun.configapi.codec.NodeCodec.UnknownTypeDecodeError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.codec.NodeCodec.UnsupportedNodeEncodeError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.BooleanArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.BooleanValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.ByteArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.ByteValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.CharArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.CharValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class dev.siroshun.configapi.core.node.CommentedNode
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.DoubleArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.DoubleValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.EnumValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.FloatArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.FloatValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.IntArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.IntValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.LongArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.LongValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.ObjectNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.ShortArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.ShortValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.core.node.StringValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlBlockComment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlInlineComment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlNodeComment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlRootComment
-
Indicates whether some other object is "equal to" this one.
F
- FALSE - Static variable in record class dev.siroshun.configapi.core.node.BooleanValue
-
An instance of
BooleanValuethat indicatesfalse. - FileFormat<N> - Interface in dev.siroshun.configapi.core.file
-
An interface for loading/saving
Nodes from/to files. - FloatArray - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a float array. - FloatArray(float[]) - Constructor for record class dev.siroshun.configapi.core.node.FloatArray
-
A constructor of
FloatArray. - floatValue() - Method in record class dev.siroshun.configapi.core.node.FloatValue
-
Returns the value of the
floatValuerecord component. - FloatValue - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a float value. - FloatValue(float) - Constructor for record class dev.siroshun.configapi.core.node.FloatValue
-
Creates an instance of a
FloatValuerecord class. - flowStyle(DumperOptions.FlowStyle) - Method in class dev.siroshun.configapi.format.yaml.YamlFormat.Builder
-
Sets
DumperOptions.FlowStyle. - footer() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlRootComment
-
Returns the value of the
footerrecord component. - fromBoolean(boolean) - Static method in record class dev.siroshun.configapi.core.node.BooleanValue
-
Creates a
BooleanValuefrom the given boolean. - fromBoolean(Boolean) - Static method in record class dev.siroshun.configapi.core.node.BooleanValue
-
Creates a
BooleanValuefrom the givenBoolean. - fromNumber(Number) - Static method in interface dev.siroshun.configapi.core.node.NumberValue
-
Creates
NumberValuefrom the givenNumber. - fromObject(Object) - Static method in interface dev.siroshun.configapi.core.node.Node
-
Creates a
Nodefrom the specified object. - fromString(String) - Static method in record class dev.siroshun.configapi.core.node.StringValue
-
Creates a
StringValuefrom the given string or returnsStringValue.EMPTYif the given string is empty.
G
- get(int) - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Gets the element at the specified position in this
ListNode. - get(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets a
Nodeto which the specified key is mapped, orNullNode.NULLif thisMapNodecontains no mapping for the key. - getBoolean(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets the boolean value to which the specified key is mapped, or
false. - getBoolean(Object, boolean) - Method in interface dev.siroshun.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 dev.siroshun.configapi.core.node.MapNode
-
Gets the byte value to which the specified key is mapped, or
0. - getByte(Object, byte) - Method in interface dev.siroshun.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 dev.siroshun.configapi.core.node.MapNode
-
Gets the char value to which the specified key is mapped, or
false. - getChar(Object, char) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets the char value to which the specified key is mapped, or the specified char value.
- getComment() - Method in interface dev.siroshun.configapi.core.node.CommentableNode
-
Gets the
Comment. - getComment() - Method in class dev.siroshun.configapi.core.node.CommentedNode
- getCommentOrNull() - Method in interface dev.siroshun.configapi.core.node.CommentableNode
- getDouble(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets the double value to which the specified key is mapped, or
0. - getDouble(Object, double) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets the double value to which the specified key is mapped, or the specified double value.
- getEnum(Object, E) - Method in interface dev.siroshun.configapi.core.node.MapNode
- getEnum(Object, Class<E>) - Method in interface dev.siroshun.configapi.core.node.MapNode
- getFloat(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets the float value to which the specified key is mapped, or
0. - getFloat(Object, float) - Method in interface dev.siroshun.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 dev.siroshun.configapi.core.util.ResourceUtils
-
Gets an
InputStreamfrom theClassLoader. - getInputStreamFromJar(JarFile, String) - Static method in class dev.siroshun.configapi.core.util.ResourceUtils
-
Gets an
InputStreamfrom theJarFile. - getInteger(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets the int value to which the specified key is mapped, or
0. - getInteger(Object, int) - Method in interface dev.siroshun.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 dev.siroshun.configapi.core.node.MapNode
-
Gets the
ListNodeto which the specified key is mapped. - getLong(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets the long value to which the specified key is mapped, or
0. - getLong(Object, long) - Method in interface dev.siroshun.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 dev.siroshun.configapi.core.node.MapNode
-
Gets the
MapNodeto which the specified key is mapped. - getOrCreateList(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets the
ListNodeto which the specified key is mapped, or creates a newListNodeusingMapNode.createList(Object). - getOrCreateMap(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets the
MapNodeto which the specified key is mapped, or creates a newMapNodeusingMapNode.createMap(Object). - getOrDefault(Object, Node<?>) - Method in interface dev.siroshun.configapi.core.node.MapNode
- getShort(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets the short value to which the specified key is mapped, or
0. - getShort(Object, short) - Method in interface dev.siroshun.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 dev.siroshun.configapi.core.node.MapNode
- getString(Object, String) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets the
Stringvalue to which the specified key is mapped, or the specified value. - getStringOrNull(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Gets the
Stringvalue to which the specified key is mapped, ornull. - GsonArrayFormat - Class in dev.siroshun.configapi.format.gson
- GsonArrayFormat(GsonBuilder) - Constructor for class dev.siroshun.configapi.format.gson.GsonArrayFormat
-
Creates a new
GsonFormatfrom theGsonBuilder. - GsonFormat - Class in dev.siroshun.configapi.format.gson
- GsonFormat(GsonBuilder) - Constructor for class dev.siroshun.configapi.format.gson.GsonFormat
-
Creates a new
GsonFormatfrom theGsonBuilder.
H
- hasComment() - Method in interface dev.siroshun.configapi.core.node.CommentableNode
-
Checks if this
CommentableNodehas theComment. - hasComment() - Method in class dev.siroshun.configapi.core.node.CommentedNode
- hasDeserializer() - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization
- hashCode() - Method in record class dev.siroshun.configapi.codec.NodeCodec.UnknownTypeDecodeError
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.codec.NodeCodec.UnsupportedNodeEncodeError
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.BooleanArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.BooleanValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.ByteArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.ByteValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.CharArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.CharValue
-
Returns a hash code value for this object.
- hashCode() - Method in class dev.siroshun.configapi.core.node.CommentedNode
- hashCode() - Method in record class dev.siroshun.configapi.core.node.DoubleArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.DoubleValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.EnumValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.FloatArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.FloatValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.IntArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.IntValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.LongArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.LongValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.ObjectNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.ShortArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.ShortValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.core.node.StringValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlBlockComment
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlInlineComment
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlNodeComment
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlRootComment
-
Returns a hash code value for this object.
- hasSerializer() - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization
- hasValue() - Method in record class dev.siroshun.configapi.core.node.BooleanValue
- hasValue() - Method in record class dev.siroshun.configapi.core.node.CharValue
- hasValue() - Method in interface dev.siroshun.configapi.core.node.Node
-
Checks if this
Nodeholds an object. - hasValue() - Method in class dev.siroshun.configapi.core.node.NullNode
- hasValue() - Method in interface dev.siroshun.configapi.core.node.NumberValue
- hasValue() - Method in record class dev.siroshun.configapi.core.node.StringValue
- header() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlRootComment
-
Returns the value of the
headerrecord component.
I
- IMPLEMENTATION_CLASS - Static variable in interface dev.siroshun.configapi.core.node.ListNode
-
An implementation
Classof this interface. - IMPLEMENTATION_CLASS - Static variable in interface dev.siroshun.configapi.core.node.MapNode
-
An implementation
Classof this interface. - indent(int) - Method in class dev.siroshun.configapi.format.yaml.YamlFormat.Builder
-
Sets number of spaces as indentation.
- inline() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlNodeComment
-
Returns the value of the
inlinerecord component. - IntArray - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds an int array. - IntArray(int[]) - Constructor for record class dev.siroshun.configapi.core.node.IntArray
-
A constructor of
IntArray. - intValue() - Method in record class dev.siroshun.configapi.core.node.IntValue
-
Returns the value of the
intValuerecord component. - IntValue - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a int value. - IntValue(int) - Constructor for record class dev.siroshun.configapi.core.node.IntValue
-
Creates an instance of a
IntValuerecord class. - isEmpty() - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Checks if this
ListNodehas no element. - isEmpty() - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Checks if this
MapNodehas no entries.
J
- JacksonFormat - Class in dev.siroshun.configapi.format.jackson
-
A
FileFormatimplementation that loading/savingMapNodefrom/to json files using Jackson'sObjectMapper. - JacksonFormat(ObjectMapper) - Constructor for class dev.siroshun.configapi.format.jackson.JacksonFormat
-
The constructor of
JacksonFormat.
K
- keyGenerator(KeyGenerator) - Method in class dev.siroshun.configapi.serialization.record.RecordDeserializer.Builder
-
Sets the
KeyGenerator. - keyGenerator(KeyGenerator) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
-
Sets the
KeyGenerator. - keyGenerator(KeyGenerator) - Method in class dev.siroshun.configapi.serialization.record.RecordSerializer.Builder
-
Sets the
KeyGenerator.
L
- LIST_NODE_CODEC - Static variable in class dev.siroshun.configapi.codec.NodeCodec
-
A
CodecforListNodes. - ListNode - Interface in dev.siroshun.configapi.core.node
- load(InputStream) - Method in interface dev.siroshun.configapi.core.file.FileFormat
-
Loads a node from a
InputStream. - load(InputStream) - Method in class dev.siroshun.configapi.format.binary.BinaryFormat
- load(Reader) - Method in interface dev.siroshun.configapi.core.file.FileFormat
-
Loads a node from a
Reader. - load(Reader) - Method in class dev.siroshun.configapi.format.binary.BinaryFormat
-
Deprecated.Not supported
- load(Reader) - Method in class dev.siroshun.configapi.format.gson.GsonArrayFormat
- load(Reader) - Method in class dev.siroshun.configapi.format.gson.GsonFormat
- load(Reader) - Method in class dev.siroshun.configapi.format.jackson.JacksonFormat
- load(Reader) - Method in class dev.siroshun.configapi.format.properties.PropertiesFormat
- load(Reader) - Method in class dev.siroshun.configapi.format.yaml.YamlFormat
- load(Path) - Method in interface dev.siroshun.configapi.core.file.FileFormat
-
Loads a node from a file.
- load(Path) - Method in class dev.siroshun.configapi.format.binary.BinaryFormat
- load(Path) - Method in class dev.siroshun.configapi.format.jackson.JacksonFormat
- LongArray - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a long array. - LongArray(long[]) - Constructor for record class dev.siroshun.configapi.core.node.LongArray
-
A constructor of
LongArray. - longValue() - Method in record class dev.siroshun.configapi.core.node.LongValue
-
Returns the value of the
longValuerecord component. - LongValue - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a long value. - LongValue(long) - Constructor for record class dev.siroshun.configapi.core.node.LongValue
-
Creates an instance of a
LongValuerecord class.
M
- MAP_NODE_CODEC - Static variable in class dev.siroshun.configapi.codec.NodeCodec
-
A
CodecforMapNode. - mapFlowStyle(DumperOptions.FlowStyle) - Method in class dev.siroshun.configapi.format.yaml.YamlFormat.Builder
-
Sets
DumperOptions.FlowStylefor maps. - MapNode - Interface in dev.siroshun.configapi.core.node
N
- node() - Method in record class dev.siroshun.configapi.codec.NodeCodec.UnsupportedNodeEncodeError
-
Returns the value of the
noderecord component. - node() - Method in class dev.siroshun.configapi.core.node.CommentedNode
-
Gets the wrapped
Node. - Node<T> - Interface in dev.siroshun.configapi.core.node
-
An interface that holds an object or value
- NODE_CODEC - Static variable in class dev.siroshun.configapi.codec.NodeCodec
-
A
CodecforNodes. - NodeCodec - Class in dev.siroshun.configapi.codec
-
Implementations of
Codecfor ConfigAPI'sNode. - NodeCodec.UnknownTypeDecodeError - Record Class in dev.siroshun.configapi.codec
-
A
DecodeErrorwhen theTypeisType.Unknown. - NodeCodec.UnsupportedNodeEncodeError - Record Class in dev.siroshun.configapi.codec
-
A
EncodeErrorwhen theNodecannot be encoded. - NodeSerialization - Class in dev.siroshun.configapi.format.jackson
-
A class that provides serialization of
MapNodefor Jackson. - NodeVisitor - Interface in dev.siroshun.configapi.core.node.visitor
-
A visitor of
Nodes. - NULL - Static variable in class dev.siroshun.configapi.core.node.NullNode
-
An instance of
NullNode. - NullNode - Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that representsnull. - NumberValue - Interface in dev.siroshun.configapi.core.node
-
An interface to represent that
Nodeholds number.
O
- ObjectNode<T> - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds an object. - ObjectNode(T) - Constructor for record class dev.siroshun.configapi.core.node.ObjectNode
-
Creates an instance of a
ObjectNoderecord class.
P
- prependBlankLines() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlBlockComment
-
Returns the value of the
prependBlankLinesrecord component. - PRETTY_PRINTING - Static variable in class dev.siroshun.configapi.format.gson.GsonArrayFormat
-
An instance of
GsonArrayFormatthat created from aGsonBuilderthat set pretty printing. - PRETTY_PRINTING - Static variable in class dev.siroshun.configapi.format.gson.GsonFormat
-
An instance of
GsonFormatthat created from aGsonBuilderthat set pretty printing. - PRETTY_PRINTING - Static variable in class dev.siroshun.configapi.format.jackson.JacksonFormat
-
An instance of
JacksonFormatthat created from aObjectMapperthat is enabled pretty printing. - processComment(boolean) - Method in class dev.siroshun.configapi.format.yaml.YamlFormat.Builder
-
Sets whether to process comments.
- PropertiesFormat - Class in dev.siroshun.configapi.format.properties
-
A
FileFormatimplementation that loading/savingMapNodefrom/to properties files. - putAll(MapNode) - Method in interface dev.siroshun.configapi.core.node.MapNode
- putAll(Map<?, ?>) - Method in interface dev.siroshun.configapi.core.node.MapNode
R
- RecordDeserializer<R> - Class in dev.siroshun.configapi.serialization.record
- RecordDeserializer.Builder<R> - Class in dev.siroshun.configapi.serialization.record
-
A
RecordDeserializer.Builderclass forRecordDeserializer. - RecordSerialization<R> - Class in dev.siroshun.configapi.serialization.record
-
A
Serializationimplementation forRecordclass. - RecordSerialization.Builder<R> - Class in dev.siroshun.configapi.serialization.record
-
A
RecordSerialization.Builderclass forRecordSerialization. - RecordSerializer<R> - Class in dev.siroshun.configapi.serialization.record
- RecordSerializer.Builder<R> - Class in dev.siroshun.configapi.serialization.record
-
A
RecordSerializer.Builderclass forRecordSerializer. - remove(int) - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Removes the element at the specified position in this
ListNode. - remove(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Removes the value that is mapped by the specified key.
- remove(Object) - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Removes an object from this
ListNode. - removeIf(Predicate<? super Node<?>>) - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Removes the elements from this
ListNodethat satisfy the given predicate. - replace(Object, Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Replaces the value that is mapped by the specified key with the given
Node. - replaceAll(UnaryOperator<Node<?>>) - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Replaces each element in this
ListNodeusing the givenUnaryOperator. - ResourceUtils - Class in dev.siroshun.configapi.core.util
-
A utility class that provides methods to copy files contained in a jar.
S
- save(MapNode, Writer) - Method in class dev.siroshun.configapi.format.jackson.JacksonFormat
- save(MapNode, Writer) - Method in class dev.siroshun.configapi.format.properties.PropertiesFormat
- save(MapNode, Writer) - Method in class dev.siroshun.configapi.format.yaml.YamlFormat
- save(Node<?>, OutputStream) - Method in class dev.siroshun.configapi.format.binary.BinaryFormat
- save(Node<?>, Writer) - Method in class dev.siroshun.configapi.format.binary.BinaryFormat
-
Deprecated.Not supported
- save(Node<?>, Path) - Method in class dev.siroshun.configapi.format.binary.BinaryFormat
- save(N, OutputStream) - Method in interface dev.siroshun.configapi.core.file.FileFormat
-
Saves a node to a
OutputStream. - save(N, Writer) - Method in interface dev.siroshun.configapi.core.file.FileFormat
-
Saves a node to a
Writer. - save(ListNode, Writer) - Method in class dev.siroshun.configapi.format.gson.GsonArrayFormat
- save(MapNode, Writer) - Method in class dev.siroshun.configapi.format.gson.GsonFormat
- save(N, Path) - Method in interface dev.siroshun.configapi.core.file.FileFormat
-
Saves a node to a file.
- scalarStyle(DumperOptions.ScalarStyle) - Method in class dev.siroshun.configapi.format.yaml.YamlFormat.Builder
-
Sets
DumperOptions.ScalarStyle. - sequenceFlowStyle(DumperOptions.FlowStyle) - Method in class dev.siroshun.configapi.format.yaml.YamlFormat.Builder
-
Sets
DumperOptions.FlowStylefor sequences. - serialize(R) - Method in class dev.siroshun.configapi.serialization.record.RecordSerializer
- serializeDefault(Class<? extends R>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerializer
-
Creates a default
MapNodefrom the given record class. - serializer() - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization
- serializer() - Static method in class dev.siroshun.configapi.serialization.record.RecordSerializer
-
Gets the default
RecordSerializer. - SERIALIZER - Static variable in class dev.siroshun.configapi.format.jackson.NodeSerialization
-
A
JsonSerializerforMapNode. - set(int, Object) - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Sets the new element at the specified position in this
ListNode. - set(Object, Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Sets a
Nodeto the specified key. - setComment(Comment) - Method in interface dev.siroshun.configapi.core.node.CommentableNode
-
Sets the
Comment. - setComment(Comment) - Method in class dev.siroshun.configapi.core.node.CommentedNode
- setIfAbsent(Object, Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
- setObjectAppender(StringNodeVisitor.Appender<Object>) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor.Builder
-
Sets a
StringNodeVisitor.AppenderforObjectNodes. - setStringAppender(StringNodeVisitor.Appender<String>) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor.Builder
-
Sets a
StringNodeVisitor.AppenderforStringValues. - setStringBuilder(StringBuilder) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor.Builder
-
Sets a
StringBuilderto append string-represented nodes. - ShortArray - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a short array. - ShortArray(short[]) - Constructor for record class dev.siroshun.configapi.core.node.ShortArray
-
A constructor of
ShortArray. - shortValue() - Method in record class dev.siroshun.configapi.core.node.ShortValue
-
Returns the value of the
shortValuerecord component. - ShortValue - Record Class in dev.siroshun.configapi.core.node
-
A
Nodeimplementation that holds a short value. - ShortValue(short) - Constructor for record class dev.siroshun.configapi.core.node.ShortValue
-
Creates an instance of a
ShortValuerecord class. - SimpleComment - Interface in dev.siroshun.configapi.core.comment
-
An interface that has the comment as a
String. - size() - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Returns the number of elements in this
ListNode. - size() - Method in interface dev.siroshun.configapi.core.node.MapNode
-
Returns the number of entries in this
MapNode. - SKIP - Enum constant in enum class dev.siroshun.configapi.core.node.visitor.VisitResult
- sort(Comparator<? super Node<?>>) - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Sorts this
ListNodeusing the givenComparator. - startList(ListNode) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Starts visiting a
ListNode. - startList(ListNode) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- startMap(MapNode) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Starts visiting a
MapNode. - startMap(MapNode) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- STOP - Enum constant in enum class dev.siroshun.configapi.core.node.visitor.VisitResult
-
Stops visiting
Nodes. - stream() - Method in interface dev.siroshun.configapi.core.node.ListNode
-
Creates a
Streamfrom an internal list. - StringNodeVisitor - Class in dev.siroshun.configapi.core.node.visitor
- StringNodeVisitor.Appender<T> - Interface in dev.siroshun.configapi.core.node.visitor
-
An interface to appends an object to
StringBuilder. - StringNodeVisitor.Builder - Class in dev.siroshun.configapi.core.node.visitor
-
A builder class of
StringNodeVisitor. - StringRepresentable - Interface in dev.siroshun.configapi.core.node
- StringValue - Record Class in dev.siroshun.configapi.core.node
- StringValue(String) - Constructor for record class dev.siroshun.configapi.core.node.StringValue
-
A constructor of
StringValue.
T
- toString() - Method in record class dev.siroshun.configapi.codec.NodeCodec.UnknownTypeDecodeError
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.codec.NodeCodec.UnsupportedNodeEncodeError
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.BooleanArray
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.BooleanValue
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.ByteArray
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.ByteValue
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.CharArray
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.CharValue
-
Returns a string representation of this record class.
- toString() - Method in class dev.siroshun.configapi.core.node.CommentedNode
- toString() - Method in record class dev.siroshun.configapi.core.node.DoubleArray
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.DoubleValue
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.EnumValue
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.FloatArray
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.FloatValue
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.IntArray
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.IntValue
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.LongArray
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.LongValue
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.ObjectNode
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.ShortArray
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.ShortValue
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.core.node.StringValue
-
Returns a string representation of this record class.
- toString() - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
-
Gets the result of string representation of
Nodes. - toString() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlBlockComment
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlInlineComment
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlNodeComment
-
Returns a string representation of this record class.
- toString() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlRootComment
-
Returns a string representation of this record class.
- TRUE - Static variable in record class dev.siroshun.configapi.core.node.BooleanValue
-
An instance of
BooleanValuethat indicatestrue. - type() - Method in interface dev.siroshun.configapi.core.comment.SimpleComment
-
Returns the type of this comment.
- type() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlBlockComment
- type() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlInlineComment
- TYPE - Static variable in record class dev.siroshun.configapi.format.yaml.comment.YamlBlockComment
-
The type of this comment.
- TYPE - Static variable in record class dev.siroshun.configapi.format.yaml.comment.YamlInlineComment
-
The type of this comment.
U
- UnknownTypeDecodeError() - Constructor for record class dev.siroshun.configapi.codec.NodeCodec.UnknownTypeDecodeError
-
Creates an instance of a
UnknownTypeDecodeErrorrecord class. - UnsupportedNodeEncodeError(Node<?>) - Constructor for record class dev.siroshun.configapi.codec.NodeCodec.UnsupportedNodeEncodeError
-
Creates an instance of a
UnsupportedNodeEncodeErrorrecord class.
V
- value() - Method in record class dev.siroshun.configapi.core.node.BooleanArray
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.siroshun.configapi.core.node.BooleanValue
- value() - Method in record class dev.siroshun.configapi.core.node.ByteArray
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.siroshun.configapi.core.node.ByteValue
- value() - Method in record class dev.siroshun.configapi.core.node.CharArray
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.siroshun.configapi.core.node.CharValue
- value() - Method in class dev.siroshun.configapi.core.node.CommentedNode
- value() - Method in record class dev.siroshun.configapi.core.node.DoubleArray
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.siroshun.configapi.core.node.DoubleValue
- value() - Method in record class dev.siroshun.configapi.core.node.EnumValue
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.siroshun.configapi.core.node.FloatArray
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.siroshun.configapi.core.node.FloatValue
- value() - Method in record class dev.siroshun.configapi.core.node.IntArray
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.siroshun.configapi.core.node.IntValue
- value() - Method in interface dev.siroshun.configapi.core.node.ListNode
- value() - Method in record class dev.siroshun.configapi.core.node.LongArray
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.siroshun.configapi.core.node.LongValue
- value() - Method in interface dev.siroshun.configapi.core.node.MapNode
- value() - Method in interface dev.siroshun.configapi.core.node.Node
-
Gets an object which this
Nodeholds - value() - Method in class dev.siroshun.configapi.core.node.NullNode
- value() - Method in record class dev.siroshun.configapi.core.node.ObjectNode
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.siroshun.configapi.core.node.ShortArray
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.siroshun.configapi.core.node.ShortValue
- value() - Method in record class dev.siroshun.configapi.core.node.StringValue
-
Returns the value of the
valuerecord component. - value() - Method in interface dev.siroshun.configapi.core.node.ValueNode
- ValueNode<T> - Interface in dev.siroshun.configapi.core.node
-
An interface to represents that
Nodeholds a value or value-based object. - valueOf(String) - Static method in enum class dev.siroshun.configapi.core.node.visitor.VisitResult
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.siroshun.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 dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
BooleanArray. - visit(BooleanArray) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(BooleanValue) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
BooleanValue. - visit(BooleanValue) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(ByteArray) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
ByteArray. - visit(ByteArray) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(ByteValue) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
ByteValue. - visit(ByteValue) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(CharArray) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
CharArray. - visit(CharArray) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(CharValue) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
CharValue. - visit(CharValue) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(CommentedNode<?>) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
CommentedNode. - visit(CommentedNode<?>) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(DoubleArray) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
DoubleArray. - visit(DoubleArray) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(DoubleValue) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
DoubleValue. - visit(DoubleValue) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(EnumValue<?>) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
EnumValue. - visit(EnumValue<?>) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(FloatArray) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
FloatArray. - visit(FloatArray) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(FloatValue) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
FloatValue. - visit(FloatValue) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(IntArray) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
IntArray. - visit(IntArray) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(IntValue) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
IntValue. - visit(IntValue) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(LongArray) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
LongArray. - visit(LongArray) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(LongValue) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
LongValue. - visit(LongValue) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(NullNode) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
NullNode. - visit(NullNode) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(ObjectNode<?>) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
ObjectNode. - visit(ObjectNode<?>) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(ShortArray) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
ShortArray. - visit(ShortArray) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(ShortValue) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
ShortValue. - visit(ShortValue) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visit(StringValue) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits a
StringValue. - visit(StringValue) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visitElement(int, Node<?>) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits
ListNode's element. - visitElement(int, Node<?>) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- visitEntry(int, Object, Node<?>) - Method in interface dev.siroshun.configapi.core.node.visitor.NodeVisitor
-
Visits
MapNode's entry. - visitEntry(int, Object, Node<?>) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
- VisitResult - Enum Class in dev.siroshun.configapi.core.node.visitor
-
Results of visiting a
Node.
W
- withComment(Node<T>, Comment) - Static method in interface dev.siroshun.configapi.core.node.CommentableNode
-
Creates a
CommentableNodewith the specifiedComment.
Y
- YamlBlockComment - Record Class in dev.siroshun.configapi.format.yaml.comment
-
A
SimpleCommentimplementation that holds the block comments in Yaml. - YamlBlockComment(String, int) - Constructor for record class dev.siroshun.configapi.format.yaml.comment.YamlBlockComment
-
A constructor of
YamlBlockComment. - YamlFormat - Class in dev.siroshun.configapi.format.yaml
-
A
FileFormatimplementation that loading/savingMapNodefrom/to yaml files. - YamlFormat.Builder - Class in dev.siroshun.configapi.format.yaml
-
A builder of
YamlFormat. - YamlInlineComment - Record Class in dev.siroshun.configapi.format.yaml.comment
-
A
SimpleCommentimplementation that holds the inline comments in Yaml. - YamlInlineComment(String) - Constructor for record class dev.siroshun.configapi.format.yaml.comment.YamlInlineComment
-
A constructor of
YamlInlineComment. - YamlNodeComment - Record Class in dev.siroshun.configapi.format.yaml.comment
- YamlNodeComment(YamlBlockComment, YamlInlineComment) - Constructor for record class dev.siroshun.configapi.format.yaml.comment.YamlNodeComment
-
Creates an instance of a
YamlNodeCommentrecord class. - YamlRootComment - Record Class in dev.siroshun.configapi.format.yaml.comment
-
A
Commentimplementation that can have the header and footer of the root node. - YamlRootComment(YamlBlockComment, YamlBlockComment) - Constructor for record class dev.siroshun.configapi.format.yaml.comment.YamlRootComment
-
Creates an instance of a
YamlRootCommentrecord class.
Z
- ZERO - Static variable in interface dev.siroshun.configapi.core.node.NumberValue
-
A
NumberValuethat represents zero.
All Classes and Interfaces|All Packages|Constant Field Values