Index

A B C D E F G H I J K L M N O P R S T U V W Y Z 
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 NodeVisitor for this Node.
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
Adds new nodes in the given ListNode to this ListNode.
addAll(Collection<?>) - Method in interface dev.siroshun.configapi.core.node.ListNode
Adds new objects in the given Collection to this ListNode.
addDeserializer(Class<T>, Deserializer<? super Node<?>, ? extends T>) - Method in class dev.siroshun.configapi.serialization.record.RecordDeserializer.Builder
Adds a Deserializer for the specifies Class.
addDeserializer(Class<T>, Deserializer<? super Node<?>, ? extends T>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
Adds a Deserializer for the specifies Class.
addDeserializers(DeserializerRegistry<Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordDeserializer.Builder
Adds Deserializers in the DeserializerRegistry.
addDeserializers(DeserializerRegistry<Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
Adds Deserializers in the DeserializerRegistry.
addList() - Method in interface dev.siroshun.configapi.core.node.ListNode
Adds a new ListNode to this ListNode.
addList(int) - Method in interface dev.siroshun.configapi.core.node.ListNode
Adds a new ListNode to this ListNode.
addMap() - Method in interface dev.siroshun.configapi.core.node.ListNode
Adds a new MapNode to this ListNode.
addSerialization(SerializationRegistry<Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
Adds Serializations in the SerializationRegistry.
addSerialization(Class<T>, Serialization<? super T, ? extends Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
Adds a Serialization for the specifies Class.
addSerializer(Class<T>, Serializer<? super T, ? extends Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
Adds a Serializer for the specifies Class.
addSerializer(Class<T>, Serializer<? super T, ? extends Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerializer.Builder
Adds a Serializer for the specifies Class.
addSerializers(SerializerRegistry<Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
Adds Serializers in the SerializerRegistry.
addSerializers(SerializerRegistry<Node<?>>) - Method in class dev.siroshun.configapi.serialization.record.RecordSerializer.Builder
Adds Serializers in the SerializerRegistry.
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 String to StringBuilder.
arrayFlowStyle(DumperOptions.FlowStyle) - Method in class dev.siroshun.configapi.format.yaml.YamlFormat.Builder
Sets DumperOptions.FlowStyle for arrays.
ArrayNode<T> - Interface in dev.siroshun.configapi.core.node
An interface to represents that Node holds 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
Gets a List containing elements of the specified Class.
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 FileFormat implementation that loading/saving MapNode from/to binary format.
block() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlNodeComment
Returns the value of the block record component.
BooleanArray - Record Class in dev.siroshun.configapi.core.node
A Node implementation 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 booleanValue record component.
BooleanValue - Record Class in dev.siroshun.configapi.core.node
A Node implementation 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
Stops visiting elements/entries of the ListNode/MapNode.
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
build() - Method in class dev.siroshun.configapi.serialization.record.RecordSerialization.Builder
build() - Method in class dev.siroshun.configapi.serialization.record.RecordSerializer.Builder
builder() - Static method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor
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
builder(Class<? extends R>) - Static method in class dev.siroshun.configapi.serialization.record.RecordDeserializer
Creates a new RecordDeserializer.Builder of the specified Record class.
builder(Class<? extends R>) - Static method in class dev.siroshun.configapi.serialization.record.RecordSerialization
Creates a new RecordSerialization.Builder of the specified Record class.
builder(R) - Static method in class dev.siroshun.configapi.serialization.record.RecordDeserializer
Creates a new RecordDeserializer.Builder with the default record.
builder(R) - Static method in class dev.siroshun.configapi.serialization.record.RecordSerialization
Creates a new RecordSerialization.Builder with the default record.
ByteArray - Record Class in dev.siroshun.configapi.core.node
A Node implementation 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 byteValue record component.
ByteValue - Record Class in dev.siroshun.configapi.core.node
A Node implementation that holds a byte value.
ByteValue(byte) - Constructor for record class dev.siroshun.configapi.core.node.ByteValue
Creates an instance of a ByteValue record class.

C

CharArray - Record Class in dev.siroshun.configapi.core.node
A Node implementation 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 charValue record component.
CharValue - Record Class in dev.siroshun.configapi.core.node
A Node implementation that holds a char value.
CharValue(char) - Constructor for record class dev.siroshun.configapi.core.node.CharValue
Creates an instance of a CharValue record 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 YamlFormat that processes the comments.
CommentableNode<T> - Interface in dev.siroshun.configapi.core.node
An interface indicating that the Node can have the Comment.
CommentedNode<T> - Class in dev.siroshun.configapi.core.node
An implementation class of the CommentableNode to wrap the non-CommentableNode node and attach the Comment.
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 content record component.
content() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlInlineComment
Returns the value of the content record 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 target not 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 target not exists.
copyFromJarIfNotExists(JarFile, String, Path) - Static method in class dev.siroshun.configapi.core.util.ResourceUtils
Copies a file from jar if the target not 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 RecordSerializer with the KeyGenerator.
create(Class<? extends R>) - Static method in class dev.siroshun.configapi.serialization.record.RecordDeserializer
Creates RecordDeserializer of the specified Record class.
create(Class<? extends R>) - Static method in class dev.siroshun.configapi.serialization.record.RecordSerialization
Creates a new RecordSerialization of the specified Record class.
create(Class<? extends R>, KeyGenerator) - Static method in class dev.siroshun.configapi.serialization.record.RecordDeserializer
Creates RecordDeserializer of the specified Record class.
create(Class<? extends R>, KeyGenerator) - Static method in class dev.siroshun.configapi.serialization.record.RecordSerialization
Creates a new RecordSerialization of the specified Record class.
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 ListNode with values in the given Collection.
create(Map<?, ?>) - Static method in interface dev.siroshun.configapi.core.node.MapNode
Creates a new MapNode with entries in the given Map.
create(R) - Static method in class dev.siroshun.configapi.serialization.record.RecordDeserializer
Creates RecordDeserializer with the default record.
create(R) - Static method in class dev.siroshun.configapi.serialization.record.RecordSerialization
Creates a new RecordSerialization with the default record.
create(R, KeyGenerator) - Static method in class dev.siroshun.configapi.serialization.record.RecordDeserializer
Creates RecordDeserializer with the default record.
create(R, KeyGenerator) - Static method in class dev.siroshun.configapi.serialization.record.RecordSerialization
Creates a new RecordSerialization with the default record.
createDefaultPrettyPrinter() - Static method in class dev.siroshun.configapi.format.jackson.JacksonFormat
Creates a DefaultPrettyPrinter that 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 ListNode and set it to the specified key.
createMap(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
Creates a new MapNode and set it to the specified key.
createModule() - Static method in class dev.siroshun.configapi.format.jackson.NodeSerialization
Creates a new SimpleModule that has NodeSerialization.SERIALIZER and NodeSerialization.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 GsonArrayFormat that created from a plain GsonBuilder.
DEFAULT - Static variable in class dev.siroshun.configapi.format.gson.GsonFormat
An instance of GsonFormat that created from a plain GsonBuilder.
DEFAULT - Static variable in class dev.siroshun.configapi.format.jackson.JacksonFormat
An instance of JacksonFormat that created from a plain ObjectMapper.
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 JsonDeserializer for MapNode.
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 of MapNode for 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 Comment implementations for Yaml comment.
dev.siroshun.configapi.serialization.record - package dev.siroshun.configapi.serialization.record
A package that includes implementations for Serializer/Deserializer of the records.
DoubleArray - Record Class in dev.siroshun.configapi.core.node
A Node implementation 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 doubleValue record component.
DoubleValue - Record Class in dev.siroshun.configapi.core.node
A Node implementation that holds a double value.
DoubleValue(double) - Constructor for record class dev.siroshun.configapi.core.node.DoubleValue
Creates an instance of a DoubleValue record class.

E

empty() - Static method in interface dev.siroshun.configapi.core.node.ListNode
Gets a ListNode that is always empty.
empty() - Static method in interface dev.siroshun.configapi.core.node.MapNode
Gets a MapNode that is always empty.
EMPTY - Static variable in record class dev.siroshun.configapi.core.node.StringValue
A StringValue that 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
A Node implementation that holds an Enum value.
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 BooleanValue that indicates false.
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 Node implementation 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 floatValue record component.
FloatValue - Record Class in dev.siroshun.configapi.core.node
A Node implementation that holds a float value.
FloatValue(float) - Constructor for record class dev.siroshun.configapi.core.node.FloatValue
Creates an instance of a FloatValue record 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 footer record component.
fromBoolean(boolean) - Static method in record class dev.siroshun.configapi.core.node.BooleanValue
Creates a BooleanValue from the given boolean.
fromBoolean(Boolean) - Static method in record class dev.siroshun.configapi.core.node.BooleanValue
Creates a BooleanValue from the given Boolean.
fromNumber(Number) - Static method in interface dev.siroshun.configapi.core.node.NumberValue
Creates NumberValue from the given Number.
fromObject(Object) - Static method in interface dev.siroshun.configapi.core.node.Node
Creates a Node from the specified object.
fromString(String) - Static method in record class dev.siroshun.configapi.core.node.StringValue
Creates a StringValue from the given string or returns StringValue.EMPTY if 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 Node to which the specified key is mapped, or NullNode.NULL if this MapNode contains 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
Gets the Comment or null if this CommentableNode does not have the Comment.
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
Gets the Enum value or parses StringValue to Enum.
getEnum(Object, Class<E>) - Method in interface dev.siroshun.configapi.core.node.MapNode
Gets the Enum value or parses StringValue to Enum.
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 InputStream from the ClassLoader.
getInputStreamFromJar(JarFile, String) - Static method in class dev.siroshun.configapi.core.util.ResourceUtils
Gets an InputStream from the JarFile.
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 ListNode to 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 MapNode to which the specified key is mapped.
getOrCreateList(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
Gets the ListNode to which the specified key is mapped, or creates a new ListNode using MapNode.createList(Object).
getOrCreateMap(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
Gets the MapNode to which the specified key is mapped, or creates a new MapNode using MapNode.createMap(Object).
getOrDefault(Object, Node<?>) - Method in interface dev.siroshun.configapi.core.node.MapNode
Gets a Node to which the specified key is mapped, or the specified Node if this MapNode contains no mapping for the key.
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
Gets the String value to which the specified key is mapped, or an empty String.
getString(Object, String) - Method in interface dev.siroshun.configapi.core.node.MapNode
Gets the String value to which the specified key is mapped, or the specified value.
getStringOrNull(Object) - Method in interface dev.siroshun.configapi.core.node.MapNode
Gets the String value to which the specified key is mapped, or null.
GsonArrayFormat - Class in dev.siroshun.configapi.format.gson
A FileFormat implementation that loading/saving ListNode from/to json files using Gson.
GsonArrayFormat(GsonBuilder) - Constructor for class dev.siroshun.configapi.format.gson.GsonArrayFormat
Creates a new GsonFormat from the GsonBuilder.
GsonFormat - Class in dev.siroshun.configapi.format.gson
A FileFormat implementation that loading/saving MapNode from/to json files using Gson.
GsonFormat(GsonBuilder) - Constructor for class dev.siroshun.configapi.format.gson.GsonFormat
Creates a new GsonFormat from the GsonBuilder.

H

hasComment() - Method in interface dev.siroshun.configapi.core.node.CommentableNode
Checks if this CommentableNode has the Comment.
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 Node holds 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 header record component.

I

IMPLEMENTATION_CLASS - Static variable in interface dev.siroshun.configapi.core.node.ListNode
An implementation Class of this interface.
IMPLEMENTATION_CLASS - Static variable in interface dev.siroshun.configapi.core.node.MapNode
An implementation Class of 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 inline record component.
IntArray - Record Class in dev.siroshun.configapi.core.node
A Node implementation 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 intValue record component.
IntValue - Record Class in dev.siroshun.configapi.core.node
A Node implementation that holds a int value.
IntValue(int) - Constructor for record class dev.siroshun.configapi.core.node.IntValue
Creates an instance of a IntValue record class.
isEmpty() - Method in interface dev.siroshun.configapi.core.node.ListNode
Checks if this ListNode has no element.
isEmpty() - Method in interface dev.siroshun.configapi.core.node.MapNode
Checks if this MapNode has no entries.

J

JacksonFormat - Class in dev.siroshun.configapi.format.jackson
A FileFormat implementation that loading/saving MapNode from/to json files using Jackson's ObjectMapper.
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 Codec for ListNodes.
ListNode - Interface in dev.siroshun.configapi.core.node
A Node implementation that represents a List of Nodes.
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 Node implementation 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 longValue record component.
LongValue - Record Class in dev.siroshun.configapi.core.node
A Node implementation that holds a long value.
LongValue(long) - Constructor for record class dev.siroshun.configapi.core.node.LongValue
Creates an instance of a LongValue record class.

M

MAP_NODE_CODEC - Static variable in class dev.siroshun.configapi.codec.NodeCodec
A Codec for MapNode.
mapFlowStyle(DumperOptions.FlowStyle) - Method in class dev.siroshun.configapi.format.yaml.YamlFormat.Builder
Sets DumperOptions.FlowStyle for maps.
MapNode - Interface in dev.siroshun.configapi.core.node
A Node implementation that represents a Map (Object - Node).

N

node() - Method in record class dev.siroshun.configapi.codec.NodeCodec.UnsupportedNodeEncodeError
Returns the value of the node record 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 Codec for Nodes.
NodeCodec - Class in dev.siroshun.configapi.codec
Implementations of Codec for ConfigAPI's Node.
NodeCodec.UnknownTypeDecodeError - Record Class in dev.siroshun.configapi.codec
A DecodeError when the Type is Type.Unknown.
NodeCodec.UnsupportedNodeEncodeError - Record Class in dev.siroshun.configapi.codec
A EncodeError when the Node cannot be encoded.
NodeSerialization - Class in dev.siroshun.configapi.format.jackson
A class that provides serialization of MapNode for 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 Node implementation that represents null.
NumberValue - Interface in dev.siroshun.configapi.core.node
An interface to represent that Node holds number.

O

ObjectNode<T> - Record Class in dev.siroshun.configapi.core.node
A Node implementation that holds an object.
ObjectNode(T) - Constructor for record class dev.siroshun.configapi.core.node.ObjectNode
Creates an instance of a ObjectNode record class.

P

prependBlankLines() - Method in record class dev.siroshun.configapi.format.yaml.comment.YamlBlockComment
Returns the value of the prependBlankLines record component.
PRETTY_PRINTING - Static variable in class dev.siroshun.configapi.format.gson.GsonArrayFormat
An instance of GsonArrayFormat that created from a GsonBuilder that set pretty printing.
PRETTY_PRINTING - Static variable in class dev.siroshun.configapi.format.gson.GsonFormat
An instance of GsonFormat that created from a GsonBuilder that set pretty printing.
PRETTY_PRINTING - Static variable in class dev.siroshun.configapi.format.jackson.JacksonFormat
An instance of JacksonFormat that created from a ObjectMapper that 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 FileFormat implementation that loading/saving MapNode from/to properties files.
putAll(MapNode) - Method in interface dev.siroshun.configapi.core.node.MapNode
Puts all entries in the given MapNode to this MapNode.
putAll(Map<?, ?>) - Method in interface dev.siroshun.configapi.core.node.MapNode
Puts all entries in the given Map to this MapNode.

R

RecordDeserializer<R> - Class in dev.siroshun.configapi.serialization.record
A Deserializer implementation for deserializing MapNode to Record object.
RecordDeserializer.Builder<R> - Class in dev.siroshun.configapi.serialization.record
RecordSerialization<R> - Class in dev.siroshun.configapi.serialization.record
A Serialization implementation for Record class.
RecordSerialization.Builder<R> - Class in dev.siroshun.configapi.serialization.record
RecordSerializer<R> - Class in dev.siroshun.configapi.serialization.record
A Serializer implementation for serializing Record object to MapNode.
RecordSerializer.Builder<R> - Class in dev.siroshun.configapi.serialization.record
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 ListNode that 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 ListNode using the given UnaryOperator.
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.FlowStyle for 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 MapNode from 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 JsonSerializer for MapNode.
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 Node to 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
Sets a Node if this MapNode does not contain the specified key.
setObjectAppender(StringNodeVisitor.Appender<Object>) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor.Builder
setStringAppender(StringNodeVisitor.Appender<String>) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor.Builder
setStringBuilder(StringBuilder) - Method in class dev.siroshun.configapi.core.node.visitor.StringNodeVisitor.Builder
Sets a StringBuilder to append string-represented nodes.
ShortArray - Record Class in dev.siroshun.configapi.core.node
A Node implementation 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 shortValue record component.
ShortValue - Record Class in dev.siroshun.configapi.core.node
A Node implementation that holds a short value.
ShortValue(short) - Constructor for record class dev.siroshun.configapi.core.node.ShortValue
Creates an instance of a ShortValue record 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
Skips the element/entry of the ListNode/MapNode
sort(Comparator<? super Node<?>>) - Method in interface dev.siroshun.configapi.core.node.ListNode
Sorts this ListNode using the given Comparator.
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 Stream from an internal list.
StringNodeVisitor - Class in dev.siroshun.configapi.core.node.visitor
An implementation of NodeVisitor that represents Nodes as String.
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
An interface that indicates the Node can be represented as a String.
StringValue - Record Class in dev.siroshun.configapi.core.node
A Node implementation that holds a String value.
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 BooleanValue that indicates true.
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 UnknownTypeDecodeError record class.
UnsupportedNodeEncodeError(Node<?>) - Constructor for record class dev.siroshun.configapi.codec.NodeCodec.UnsupportedNodeEncodeError
Creates an instance of a UnsupportedNodeEncodeError record class.

V

value() - Method in record class dev.siroshun.configapi.core.node.BooleanArray
Returns the value of the value record 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 value record 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 value record 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 value record 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 value record component.
value() - Method in record class dev.siroshun.configapi.core.node.FloatArray
Returns the value of the value record 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 value record component.
value() - Method in record class dev.siroshun.configapi.core.node.IntValue
 
value() - Method in interface dev.siroshun.configapi.core.node.ListNode
Gets a List that this ListNode has.
value() - Method in record class dev.siroshun.configapi.core.node.LongArray
Returns the value of the value record 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 Node holds
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 value record component.
value() - Method in record class dev.siroshun.configapi.core.node.ShortArray
Returns the value of the value record 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 value record 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 Node holds 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 CommentableNode with the specified Comment.

Y

YamlBlockComment - Record Class in dev.siroshun.configapi.format.yaml.comment
A SimpleComment implementation 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 FileFormat implementation that loading/saving MapNode from/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 SimpleComment implementation 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
A Comment implementation that can have the YamlBlockComment and YamlInlineComment of the node.
YamlNodeComment(YamlBlockComment, YamlInlineComment) - Constructor for record class dev.siroshun.configapi.format.yaml.comment.YamlNodeComment
Creates an instance of a YamlNodeComment record class.
YamlRootComment - Record Class in dev.siroshun.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 dev.siroshun.configapi.format.yaml.comment.YamlRootComment
Creates an instance of a YamlRootComment record class.

Z

ZERO - Static variable in interface dev.siroshun.configapi.core.node.NumberValue
A NumberValue that represents zero.
A B C D E F G H I J K L M N O P R S T U V W Y Z 
All Classes and Interfaces|All Packages|Constant Field Values