Modifier and Type | Class and Description |
---|---|
class |
SimpleConfigurationNode
Simple implementation of a configuration node
|
Modifier and Type | Method and Description |
---|---|
ConfigurationNode |
ConfigurationNode.getAppendedNode() |
ConfigurationNode |
ConfigurationNode.getNode(Object... path)
Gets the node at the given (relative) path, possibly traversing multiple levels of nodes
|
ConfigurationNode |
ConfigurationNode.getParent()
Returns the current parent for this node.
|
ConfigurationNode |
SimpleConfigurationNode.mergeValuesFrom(ConfigurationNode other) |
ConfigurationNode |
ConfigurationNode.mergeValuesFrom(ConfigurationNode other)
Set all the values from the given node that are not present in this node
to their values in the provided node.
|
ConfigurationNode |
ConfigurationNode.setValue(Object value)
Set this node's value to the given value.
|
default <T> ConfigurationNode |
ConfigurationNode.setValue(TypeToken<T> type,
T value)
Set this node's value to the given value.
|
Modifier and Type | Method and Description |
---|---|
List<? extends ConfigurationNode> |
ConfigurationNode.getChildrenList()
Return an immutable copy of the list of children this node is aware of
|
Map<Object,? extends ConfigurationNode> |
ConfigurationNode.getChildrenMap()
Return an immutable copy of the mapping from key to node of every child this node is aware of
|
Modifier and Type | Method and Description |
---|---|
ConfigurationNode |
SimpleConfigurationNode.mergeValuesFrom(ConfigurationNode other) |
ConfigurationNode |
ConfigurationNode.mergeValuesFrom(ConfigurationNode other)
Set all the values from the given node that are not present in this node
to their values in the provided node.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CommentedConfigurationNode
A configuration node that is capable of having an attached comment
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleCommentedConfigurationNode
Represents a configuration node containing comments
|
Modifier and Type | Method and Description |
---|---|
CommentedConfigurationNode |
CommentedConfigurationNode.mergeValuesFrom(ConfigurationNode other) |
SimpleCommentedConfigurationNode |
SimpleCommentedConfigurationNode.mergeValuesFrom(ConfigurationNode other) |
Modifier and Type | Method and Description |
---|---|
ConfigurationNode |
GsonConfigurationLoader.createEmptyNode(ConfigurationOptions options) |
Modifier and Type | Method and Description |
---|---|
protected void |
GsonConfigurationLoader.loadInternal(ConfigurationNode node,
BufferedReader reader) |
void |
GsonConfigurationLoader.saveInternal(ConfigurationNode node,
Writer writer) |
Modifier and Type | Method and Description |
---|---|
protected void |
HoconConfigurationLoader.saveInternal(ConfigurationNode node,
Writer writer) |
Modifier and Type | Method and Description |
---|---|
protected void |
JSONConfigurationLoader.loadInternal(ConfigurationNode node,
BufferedReader reader) |
void |
JSONConfigurationLoader.saveInternal(ConfigurationNode node,
Writer writer) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConfigurationLoader<NodeType extends ConfigurationNode>
Base class for many stream-based configuration loaders.
|
interface |
ConfigurationLoader<NodeType extends ConfigurationNode>
Loader for a specific configuration format
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurationLoader.save(ConfigurationNode node)
Save the contents of the given node tree to this loader.
|
void |
AbstractConfigurationLoader.save(ConfigurationNode node) |
protected abstract void |
AbstractConfigurationLoader.saveInternal(ConfigurationNode node,
Writer writer) |
Modifier and Type | Method and Description |
---|---|
void |
ObjectMapper.FieldData.deserializeFrom(Object instance,
ConfigurationNode node) |
T |
ObjectMapper.BoundInstance.populate(ConfigurationNode source)
Populate the annotated fields in a pre-created object
|
void |
ObjectMapper.BoundInstance.serialize(ConfigurationNode target)
Serialize the data contained in annotated fields to the configuration node.
|
void |
ObjectMapper.FieldData.serializeTo(Object instance,
ConfigurationNode node) |
Modifier and Type | Method and Description |
---|---|
T |
TypeSerializer.deserialize(TypeToken<?> type,
ConfigurationNode value)
Deserialize an object required to be of a given type from the given configuration node
|
void |
TypeSerializer.serialize(TypeToken<?> type,
T obj,
ConfigurationNode value) |
Modifier and Type | Method and Description |
---|---|
void |
ChainedConfigurationTransformation.apply(ConfigurationNode node) |
abstract void |
ConfigurationTransformation.apply(ConfigurationNode node)
Apply this transformation to a given node
|
abstract void |
MoveStrategy.move(ConfigurationNode source,
ConfigurationNode target) |
Object[] |
TransformAction.visitPath(ConfigurationTransformation.NodePath inputPath,
ConfigurationNode valueAtPath)
Called at a certain path, with the node at that path
|
Modifier and Type | Method and Description |
---|---|
ConfigurationNode |
YAMLConfigurationLoader.createEmptyNode(ConfigurationOptions options) |
Modifier and Type | Method and Description |
---|---|
protected void |
YAMLConfigurationLoader.loadInternal(ConfigurationNode node,
BufferedReader reader) |
protected void |
YAMLConfigurationLoader.saveInternal(ConfigurationNode node,
Writer writer) |
Copyright © 2014–2017. All rights reserved.