Skip navigation links
A B C D E F G H I J L M N O P R S T U V W Y 

A

AbstractConfigurationLoader<NodeType extends ConfigurationNode> - Class in ninja.leaping.configurate.loader
Base class for many stream-based configuration loaders.
AbstractConfigurationLoader(AbstractConfigurationLoader.Builder<?>, CommentHandler[]) - Constructor for class ninja.leaping.configurate.loader.AbstractConfigurationLoader
 
AbstractConfigurationLoader.Builder<T extends AbstractConfigurationLoader.Builder> - Class in ninja.leaping.configurate.loader
 
acceptsType(Class<?>) - Method in class ninja.leaping.configurate.ConfigurationOptions
Return whether objects of the provided type are accepted as values for nodes with this as their options object.
addAction(Object[], TransformAction) - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.Builder
 
addVersion(int, ConfigurationTransformation) - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.VersionedBuilder
 
apply(ConfigurationNode) - Method in class ninja.leaping.configurate.transformation.ChainedConfigurationTransformation
 
apply(ConfigurationNode) - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation
Apply this transformation to a given node
asBoolean(Object) - Static method in class ninja.leaping.configurate.Types
Tries to convert a value to a boolean.
asDouble(Object) - Static method in class ninja.leaping.configurate.Types
 
asFloat(Object) - Static method in class ninja.leaping.configurate.Types
 
asInt(Object) - Static method in class ninja.leaping.configurate.Types
 
asLong(Object) - Static method in class ninja.leaping.configurate.Types
 
asString(Object) - Static method in class ninja.leaping.configurate.Types
 
AtomicFiles - Class in ninja.leaping.configurate.loader
 
attachChild(SimpleConfigurationNode) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
attachIfNecessary() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 

B

bind(T) - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper
Return a view on this mapper that is bound to a single object instance
bindToNew() - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper
Returns a view on this mapper that is bound to a newly created object instance
BoundInstance(T) - Constructor for class ninja.leaping.configurate.objectmapping.ObjectMapper.BoundInstance
 
build() - Method in class ninja.leaping.configurate.gson.GsonConfigurationLoader.Builder
 
build() - Method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader.Builder
 
build() - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader.Builder
 
build() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
build() - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.Builder
 
build() - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.VersionedBuilder
 
build() - Method in class ninja.leaping.configurate.yaml.YAMLConfigurationLoader.Builder
 
builder() - Static method in class ninja.leaping.configurate.gson.GsonConfigurationLoader
 
Builder() - Constructor for class ninja.leaping.configurate.gson.GsonConfigurationLoader.Builder
 
builder() - Static method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader
 
Builder() - Constructor for class ninja.leaping.configurate.hocon.HoconConfigurationLoader.Builder
 
builder() - Static method in class ninja.leaping.configurate.json.JSONConfigurationLoader
 
Builder() - Constructor for class ninja.leaping.configurate.json.JSONConfigurationLoader.Builder
 
Builder() - Constructor for class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
builder() - Static method in class ninja.leaping.configurate.transformation.ConfigurationTransformation
Create a new builder to create a basic configuration transformation.
Builder() - Constructor for class ninja.leaping.configurate.transformation.ConfigurationTransformation.Builder
 
builder() - Static method in class ninja.leaping.configurate.yaml.YAMLConfigurationLoader
 
Builder() - Constructor for class ninja.leaping.configurate.yaml.YAMLConfigurationLoader.Builder
 

C

canCreateInstances() - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper
Returns whether this object mapper can create new object instances.
canLoad() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
 
canSave() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
 
chain(ConfigurationTransformation...) - Static method in class ninja.leaping.configurate.transformation.ConfigurationTransformation
 
ChainedConfigurationTransformation - Class in ninja.leaping.configurate.transformation
 
ChainedConfigurationTransformation(ConfigurationTransformation[]) - Constructor for class ninja.leaping.configurate.transformation.ChainedConfigurationTransformation
 
clear() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
collectFields(Map<String, ObjectMapper.FieldData>, Class<? super T>) - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper
 
CommentedConfigurationNode - Interface in ninja.leaping.configurate.commented
A configuration node that is capable of having an attached comment
CommentHandler - Interface in ninja.leaping.configurate.loader
Interface specifying methods for handling abstract comments
CommentHandlers - Enum in ninja.leaping.configurate.loader
Handlers for various comment formats
ConfigSerializable - Annotation Type in ninja.leaping.configurate.objectmapping.serialize
This annotation is used to indicate that the given type is capable of being serialized and deserialized by the configuration object mapper.
CONFIGURATE_LINE_SEPARATOR - Static variable in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
 
ConfigurationLoader<NodeType extends ConfigurationNode> - Interface in ninja.leaping.configurate.loader
Loader for a specific configuration format
ConfigurationNode - Interface in ninja.leaping.configurate
A node in the configuration tree.
ConfigurationOptions - Class in ninja.leaping.configurate
This object is a holder for general configuration options.
ConfigurationTransformation - Class in ninja.leaping.configurate.transformation
 
ConfigurationTransformation() - Constructor for class ninja.leaping.configurate.transformation.ConfigurationTransformation
 
ConfigurationTransformation.Builder - Class in ninja.leaping.configurate.transformation
 
ConfigurationTransformation.NodePath - Class in ninja.leaping.configurate.transformation
Wrapper around path Object[]s to prevent transformers modifying what is supposed to be a immutable path.
ConfigurationTransformation.VersionedBuilder - Class in ninja.leaping.configurate.transformation
 
constructObject() - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper
Create a new instance of an object of the appropriate type.
create() - Method in interface ninja.leaping.configurate.util.MapFactory
Create a new map instance for the given types
createAtomicBufferedWriter(Path, Charset) - Static method in class ninja.leaping.configurate.loader.AtomicFiles
 
createAtomicWriterFactory(Path, Charset) - Static method in class ninja.leaping.configurate.loader.AtomicFiles
 
createEmptyNode(ConfigurationOptions) - Method in class ninja.leaping.configurate.gson.GsonConfigurationLoader
 
createEmptyNode(ConfigurationOptions) - Method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader
 
createEmptyNode(ConfigurationOptions) - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader
 
createEmptyNode() - Method in interface ninja.leaping.configurate.loader.ConfigurationLoader
Return an empty node of the most appropriate type for this loader, using the default options.
createEmptyNode(ConfigurationOptions) - Method in interface ninja.leaping.configurate.loader.ConfigurationLoader
Return an empty node of the most appropriate type for this loader
createEmptyNode(ConfigurationOptions) - Method in class ninja.leaping.configurate.yaml.YAMLConfigurationLoader
 
createNode(Object) - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
createNode(Object) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
CRLF_MATCH - Static variable in class ninja.leaping.configurate.hocon.HoconConfigurationLoader
 

D

DefaultObjectMapperFactory - Class in ninja.leaping.configurate.objectmapping
Factory for a basic ObjectMapper
DefaultObjectMapperFactory() - Constructor for class ninja.leaping.configurate.objectmapping.DefaultObjectMapperFactory
 
defaultOptions - Variable in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
defaults() - Static method in class ninja.leaping.configurate.ConfigurationOptions
Create a new options object with defaults set
deserialize(TypeToken<?>, ConfigurationNode) - Method in interface ninja.leaping.configurate.objectmapping.serialize.TypeSerializer
Deserialize an object required to be of a given type from the given configuration node
deserializeFrom(Object, ConfigurationNode) - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper.FieldData
 

E

EnumLookup - Class in ninja.leaping.configurate.util
Utility class to cache more flexible enum lookup.
equals(Object) - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
equals(Object) - Method in class ninja.leaping.configurate.ConfigurationOptions
 
equals(Object) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
extractComment(BufferedReader, CommentHandler...) - Static method in enum ninja.leaping.configurate.loader.CommentHandlers
 
extractHeader(BufferedReader) - Method in interface ninja.leaping.configurate.loader.CommentHandler
 
extractHeader(BufferedReader) - Method in enum ninja.leaping.configurate.loader.CommentHandlers
 

F

FieldData(Field, String) - Constructor for class ninja.leaping.configurate.objectmapping.ObjectMapper.FieldData
 
FieldValueSeparatorStyle - Enum in ninja.leaping.configurate.json
 
forClass(Class<T>) - Static method in class ninja.leaping.configurate.objectmapping.ObjectMapper
Create a new object mapper that can work with objects of the given class
forObject(T) - Static method in class ninja.leaping.configurate.objectmapping.ObjectMapper
 

G

get(TypeToken<T>) - Method in class ninja.leaping.configurate.objectmapping.serialize.TypeSerializerCollection
 
get(int) - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.NodePath
Gets a specific element from the path array
getAppendedNode() - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
 
getAppendedNode() - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
getAppendedNode() - Method in interface ninja.leaping.configurate.ConfigurationNode
 
getAppendedNode() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getArray() - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.NodePath
Returns a copy of the original path array
getBoolean() - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the value typed using the appropriate type conversion from Types
getBoolean(boolean) - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the value typed using the appropriate type conversion from Types
getChild(Object, boolean) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getChildrenList() - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
 
getChildrenList() - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
getChildrenList() - Method in interface ninja.leaping.configurate.ConfigurationNode
Return an immutable copy of the list of children this node is aware of
getChildrenList() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getChildrenMap() - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
 
getChildrenMap() - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
getChildrenMap() - Method in interface ninja.leaping.configurate.ConfigurationNode
Return an immutable copy of the mapping from key to node of every child this node is aware of
getChildrenMap() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getComment() - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
Gets the current value for the comment.
getComment() - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
getDefaultCommentHandler() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
 
getDefaultOptions() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
getDefaultOptions() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
Get the default options that any new nodes will be created with if no options object is passed.
getDefaultOptions() - Method in interface ninja.leaping.configurate.loader.ConfigurationLoader
Get the default options that any new nodes will be created with if no options object is passed.
getDefaultSerializers() - Static method in class ninja.leaping.configurate.objectmapping.serialize.TypeSerializers
 
getDouble() - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the value typed using the appropriate type conversion from Types
getDouble(double) - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the value typed using the appropriate type conversion from Types
getFactory() - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader.Builder
 
getFieldValueSeparatorStyle() - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader.Builder
 
getFloat() - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the value typed using the appropriate type conversion from Types
getFloat(float) - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the value typed using the appropriate type conversion from Types
getHeader() - Method in class ninja.leaping.configurate.ConfigurationOptions
Get the header used for this configuration
getHeaderMode() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
getIndent() - Method in class ninja.leaping.configurate.gson.GsonConfigurationLoader.Builder
 
getIndent() - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader.Builder
 
getInstance() - Static method in class ninja.leaping.configurate.objectmapping.DefaultObjectMapperFactory
 
getInstance() - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper.BoundInstance
Return the instance this mapper is bound to.
getInt() - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the value typed using the appropriate type conversion from Types
getInt(int) - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the value typed using the appropriate type conversion from Types
getKey() - Method in interface ninja.leaping.configurate.ConfigurationNode
The key for this node.
getKey() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getList(Function<Object, T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
If this node has list values, this function unwraps them and converts them to an appropriate type based on the provided function.
getList(Function<Object, T>, List<T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
If this node has list values, this function unwraps them and converts them to an appropriate type based on the provided function.
getList(Function<Object, T>, Supplier<List<T>>) - Method in interface ninja.leaping.configurate.ConfigurationNode
If this node has list values, this function unwraps them and converts them to an appropriate type based on the provided function.
getList(TypeToken<T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
If this node has list values, this function unwraps them and converts them to an appropriate type based on the provided type.
getList(TypeToken<T>, List<T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
If this node has list values, this function unwraps them and converts them to an appropriate type based on the provided type.
getList(TypeToken<T>, Supplier<List<T>>) - Method in interface ninja.leaping.configurate.ConfigurationNode
If this node has list values, this function unwraps them and converts them to an appropriate type based on the provided type.
getList(Function<Object, T>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getList(Function<Object, T>, List<T>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getList(Function<Object, T>, Supplier<List<T>>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getList(TypeToken<T>, List<T>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getList(TypeToken<T>, Supplier<List<T>>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getLong() - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the value typed using the appropriate type conversion from Types
getLong(long) - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the value typed using the appropriate type conversion from Types
getMapFactory() - Method in class ninja.leaping.configurate.ConfigurationOptions
Get the key comparator currently being used for this configuration
getMappedType() - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper
 
getMapper(Class<T>) - Method in class ninja.leaping.configurate.objectmapping.DefaultObjectMapperFactory
 
getMapper(Class<T>) - Method in class ninja.leaping.configurate.objectmapping.GuiceObjectMapperFactory
 
getMapper(Class<T>) - Method in interface ninja.leaping.configurate.objectmapping.ObjectMapperFactory
 
getMoveStrategy() - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.Builder
 
getNode(Object...) - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
 
getNode(Object...) - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
getNode(Object...) - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the node at the given (relative) path, possibly traversing multiple levels of nodes
getNode(Object...) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getObjectMapperFactory() - Method in class ninja.leaping.configurate.ConfigurationOptions
Get the current object mapper factory that is most appropriate to this configuration.
getOptions() - Method in interface ninja.leaping.configurate.ConfigurationNode
Return the options that currently apply to this node
getOptions() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getParent() - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
 
getParent() - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
getParent() - Method in interface ninja.leaping.configurate.ConfigurationNode
Returns the current parent for this node.
getParent() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getParseOptions() - Method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader.Builder
 
getPath() - Method in interface ninja.leaping.configurate.ConfigurationNode
The full path from the root to this node.
getPath() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getRenderOptions() - Method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader.Builder
 
getSerializers() - Method in class ninja.leaping.configurate.ConfigurationOptions
 
getSink() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
getSource() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
getString() - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the value typed using the appropriate type conversion from Types
getString(String) - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the value typed using the appropriate type conversion from Types
getValue() - Method in interface ninja.leaping.configurate.ConfigurationNode
Get the current value associated with this node.
getValue(Object) - Method in interface ninja.leaping.configurate.ConfigurationNode
Get the current value associated with this node.
getValue(Supplier<Object>) - Method in interface ninja.leaping.configurate.ConfigurationNode
Get the current value associated with this node.
getValue(Function<Object, T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the appropriately transformed typed version of this node's value from the provided transformation function
getValue(Function<Object, T>, T) - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the appropriately transformed typed version of this node's value from the provided transformation function
getValue(Function<Object, T>, Supplier<T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
Gets the appropriately transformed typed version of this node's value from the provided transformation function
getValue(TypeToken<T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
Get the current value associated with this node.
getValue(TypeToken<T>, T) - Method in interface ninja.leaping.configurate.ConfigurationNode
Get the current value associated with this node.
getValue(TypeToken<T>, Supplier<T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
Get the current value associated with this node.
getValue() - Method in enum ninja.leaping.configurate.json.FieldValueSeparatorStyle
 
getValue(Object) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getValue(Supplier<Object>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getValue(Function<Object, T>, T) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getValue(Function<Object, T>, Supplier<T>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getValue(TypeToken<T>, T) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
getValue(TypeToken<T>, Supplier<T>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
GsonConfigurationLoader - Class in ninja.leaping.configurate.gson
A loader for JSON-formatted configurations, using the jackson library for parsing and generation
GsonConfigurationLoader(GsonConfigurationLoader.Builder) - Constructor for class ninja.leaping.configurate.gson.GsonConfigurationLoader
 
GsonConfigurationLoader.Builder - Class in ninja.leaping.configurate.gson
 
GuiceObjectMapperFactory - Class in ninja.leaping.configurate.objectmapping
A factory for ObjectMappers that will inherit the injector from wherever it is provided.
GuiceObjectMapperFactory(Injector) - Constructor for class ninja.leaping.configurate.objectmapping.GuiceObjectMapperFactory
 

H

hashCode() - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
hashCode() - Method in class ninja.leaping.configurate.ConfigurationOptions
 
hashCode() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
hasListChildren() - Method in interface ninja.leaping.configurate.ConfigurationNode
 
hasListChildren() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
hasMapChildren() - Method in interface ninja.leaping.configurate.ConfigurationNode
 
hasMapChildren() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
headerMode - Variable in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
HeaderMode - Enum in ninja.leaping.configurate.loader
Options for header handling
HoconConfigurationLoader - Class in ninja.leaping.configurate.hocon
A loader for HOCON (Hodor)-formatted configurations, using the typesafe config library for parsing
HoconConfigurationLoader.Builder - Class in ninja.leaping.configurate.hocon
 

I

insertionOrdered() - Static method in class ninja.leaping.configurate.util.MapFactories
 
InvalidTypeException - Exception in ninja.leaping.configurate.objectmapping
 
InvalidTypeException(TypeToken<?>) - Constructor for exception ninja.leaping.configurate.objectmapping.InvalidTypeException
 
isLenient() - Method in class ninja.leaping.configurate.gson.GsonConfigurationLoader.Builder
 
isVirtual() - Method in interface ninja.leaping.configurate.ConfigurationNode
Whether this node does not currently exist in the configuration structure.
isVirtual() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
iterator() - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.NodePath
 

J

JSONConfigurationLoader - Class in ninja.leaping.configurate.json
A loader for JSON-formatted configurations, using the jackson library for parsing and generation
JSONConfigurationLoader(JSONConfigurationLoader.Builder) - Constructor for class ninja.leaping.configurate.json.JSONConfigurationLoader
 
JSONConfigurationLoader.Builder - Class in ninja.leaping.configurate.json
 

L

LINE_SPLITTER - Static variable in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
 
load(ConfigurationOptions) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
 
load() - Method in interface ninja.leaping.configurate.loader.ConfigurationLoader
Create a new configuration node populated with the appropriate data.
load(ConfigurationOptions) - Method in interface ninja.leaping.configurate.loader.ConfigurationLoader
Create a new configuration node populated with the appropriate data, structured with the provided options.
loadInternal(ConfigurationNode, BufferedReader) - Method in class ninja.leaping.configurate.gson.GsonConfigurationLoader
 
loadInternal(CommentedConfigurationNode, BufferedReader) - Method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader
 
loadInternal(ConfigurationNode, BufferedReader) - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader
 
loadInternal(NodeType, BufferedReader) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
 
loadInternal(ConfigurationNode, BufferedReader) - Method in class ninja.leaping.configurate.yaml.YAMLConfigurationLoader
 
lookupEnum(Class<T>, String) - Static method in class ninja.leaping.configurate.util.EnumLookup
 

M

MapFactories - Class in ninja.leaping.configurate.util
Factories to create map implementations commonly used for maps
MapFactory - Interface in ninja.leaping.configurate.util
 
mergeValuesFrom(ConfigurationNode) - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
 
mergeValuesFrom(ConfigurationNode) - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
mergeValuesFrom(ConfigurationNode) - Method in interface ninja.leaping.configurate.ConfigurationNode
Set all the values from the given node that are not present in this node to their values in the provided node.
mergeValuesFrom(ConfigurationNode) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
move(ConfigurationNode, ConfigurationNode) - Method in enum ninja.leaping.configurate.transformation.MoveStrategy
 
MoveStrategy - Enum in ninja.leaping.configurate.transformation
Strategy to use when moving a node from one path to another

N

newChild() - Method in class ninja.leaping.configurate.objectmapping.serialize.TypeSerializerCollection
 
ninja.leaping.configurate - package ninja.leaping.configurate
 
ninja.leaping.configurate.commented - package ninja.leaping.configurate.commented
 
ninja.leaping.configurate.gson - package ninja.leaping.configurate.gson
 
ninja.leaping.configurate.hocon - package ninja.leaping.configurate.hocon
 
ninja.leaping.configurate.json - package ninja.leaping.configurate.json
 
ninja.leaping.configurate.loader - package ninja.leaping.configurate.loader
 
ninja.leaping.configurate.objectmapping - package ninja.leaping.configurate.objectmapping
 
ninja.leaping.configurate.objectmapping.serialize - package ninja.leaping.configurate.objectmapping.serialize
 
ninja.leaping.configurate.transformation - package ninja.leaping.configurate.transformation
 
ninja.leaping.configurate.util - package ninja.leaping.configurate.util
 
ninja.leaping.configurate.yaml - package ninja.leaping.configurate.yaml
 
NUMBER_DEF - Static variable in interface ninja.leaping.configurate.ConfigurationNode
 

O

ObjectMapper<T> - Class in ninja.leaping.configurate.objectmapping
This is the object mapper.
ObjectMapper(Class<T>) - Constructor for class ninja.leaping.configurate.objectmapping.ObjectMapper
Create a new object mapper of a given type
ObjectMapper.BoundInstance - Class in ninja.leaping.configurate.objectmapping
Represents an object mapper bound to a certain instance of the object
ObjectMapper.FieldData - Class in ninja.leaping.configurate.objectmapping
Holder for field-specific information
ObjectMapperFactory - Interface in ninja.leaping.configurate.objectmapping
A factory to produce ObjectMapper instances
ObjectMappingException - Exception in ninja.leaping.configurate.objectmapping
Exception thrown on errors encountered while mapping objects
ObjectMappingException() - Constructor for exception ninja.leaping.configurate.objectmapping.ObjectMappingException
 
ObjectMappingException(String) - Constructor for exception ninja.leaping.configurate.objectmapping.ObjectMappingException
 
ObjectMappingException(String, Throwable) - Constructor for exception ninja.leaping.configurate.objectmapping.ObjectMappingException
 
ObjectMappingException(Throwable) - Constructor for exception ninja.leaping.configurate.objectmapping.ObjectMappingException
 
ObjectMappingException(String, Throwable, boolean, boolean) - Constructor for exception ninja.leaping.configurate.objectmapping.ObjectMappingException
 

P

populate(ConfigurationNode) - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper.BoundInstance
Populate the annotated fields in a pre-created object
preservesHeader() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
Deprecated.

R

registerPredicate(Predicate<TypeToken<T>>, TypeSerializer<? super T>) - Method in class ninja.leaping.configurate.objectmapping.serialize.TypeSerializerCollection
Register a type serializer matching against a given predicate.
registerType(TypeToken<T>, TypeSerializer<? super T>) - Method in class ninja.leaping.configurate.objectmapping.serialize.TypeSerializerCollection
Register a type serializer for a given type.
removeChild(Object) - Method in interface ninja.leaping.configurate.ConfigurationNode
Removes a direct child of this node
removeChild(Object) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
root() - Static method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
root(ConfigurationOptions) - Static method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
root() - Static method in class ninja.leaping.configurate.SimpleConfigurationNode
 
root(ConfigurationOptions) - Static method in class ninja.leaping.configurate.SimpleConfigurationNode
 

S

save(ConfigurationNode) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
 
save(ConfigurationNode) - Method in interface ninja.leaping.configurate.loader.ConfigurationLoader
Save the contents of the given node tree to this loader.
saveInternal(ConfigurationNode, Writer) - Method in class ninja.leaping.configurate.gson.GsonConfigurationLoader
 
saveInternal(ConfigurationNode, Writer) - Method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader
 
saveInternal(ConfigurationNode, Writer) - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader
 
saveInternal(ConfigurationNode, Writer) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
 
saveInternal(ConfigurationNode, Writer) - Method in class ninja.leaping.configurate.yaml.YAMLConfigurationLoader
 
serialize(ConfigurationNode) - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper.BoundInstance
Serialize the data contained in annotated fields to the configuration node.
serialize(TypeToken<?>, T, ConfigurationNode) - Method in interface ninja.leaping.configurate.objectmapping.serialize.TypeSerializer
 
serializeTo(Object, ConfigurationNode) - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper.FieldData
 
setAcceptedTypes(Set<Class<?>>) - Method in class ninja.leaping.configurate.ConfigurationOptions
Set types that will be accepted as native values for this configuration
setComment(String) - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
Sets the comment for this configuration.
setComment(String) - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
setDefaultOptions(ConfigurationOptions) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
setFieldValueSeparatorStyle(FieldValueSeparatorStyle) - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader.Builder
 
setFile(File) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
setFlowStyle(DumperOptions.FlowStyle) - Method in class ninja.leaping.configurate.yaml.YAMLConfigurationLoader.Builder
Sets the flow style for this configuration Flow: the compact, json-like representation.
Example: {value: [list, of, elements], another: value} Block: expanded, traditional YAML
Example: value: - list - of - elements another: value
setHeader(String) - Method in class ninja.leaping.configurate.ConfigurationOptions
Set the header that will be written to a file if
setHeaderMode(HeaderMode) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
setIndent(int) - Method in class ninja.leaping.configurate.gson.GsonConfigurationLoader.Builder
 
setIndent(int) - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader.Builder
 
setIndent(int) - Method in class ninja.leaping.configurate.yaml.YAMLConfigurationLoader.Builder
 
setLenient(boolean) - Method in class ninja.leaping.configurate.gson.GsonConfigurationLoader.Builder
 
setMapFactory(MapFactory) - Method in class ninja.leaping.configurate.ConfigurationOptions
Return a new options object with the provided option set.
setMoveStrategy(MoveStrategy) - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.Builder
 
setObjectMapperFactory(ObjectMapperFactory) - Method in class ninja.leaping.configurate.ConfigurationOptions
Set the factory to use to produce object mapper instances for this configuration
setParseOptions(ConfigParseOptions) - Method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader.Builder
 
setPath(Path) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
setPreservesHeader(boolean) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
Deprecated.
setRenderOptions(ConfigRenderOptions) - Method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader.Builder
 
setSerializers(TypeSerializerCollection) - Method in class ninja.leaping.configurate.ConfigurationOptions
Set the collection of TypeSerializers to be used for lookups
setShouldCopyDefaults(boolean) - Method in class ninja.leaping.configurate.ConfigurationOptions
Set whether defaults should be set when used.
setSink(Callable<BufferedWriter>) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
setSource(Callable<BufferedReader>) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
Setting - Annotation Type in ninja.leaping.configurate.objectmapping
Fields with this annotation are
setURL(URL) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
setValue(Object) - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
 
setValue(Object) - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
setValue(Object) - Method in interface ninja.leaping.configurate.ConfigurationNode
Set this node's value to the given value.
setValue(TypeToken<T>, T) - Method in interface ninja.leaping.configurate.ConfigurationNode
Set this node's value to the given value.
setValue(Object) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
setVersionKey(Object...) - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.VersionedBuilder
 
shouldCopyDefaults() - Method in class ninja.leaping.configurate.ConfigurationOptions
Return whether or not default parameters provided to ConfigurationNode getter methods should be set to the node when used.
SimpleCommentedConfigurationNode - Class in ninja.leaping.configurate.commented
Represents a configuration node containing comments
SimpleCommentedConfigurationNode(Object, SimpleConfigurationNode, ConfigurationOptions) - Constructor for class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
SimpleConfigurationNode - Class in ninja.leaping.configurate
Simple implementation of a configuration node
SimpleConfigurationNode(Object, SimpleConfigurationNode, ConfigurationOptions) - Constructor for class ninja.leaping.configurate.SimpleConfigurationNode
 
sink - Variable in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
size() - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.NodePath
 
sorted(Comparator<Object>) - Static method in class ninja.leaping.configurate.util.MapFactories
 
sortedNatural() - Static method in class ninja.leaping.configurate.util.MapFactories
 
source - Variable in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
 
source - Variable in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
 
strictAsBoolean(Object) - Static method in class ninja.leaping.configurate.Types
 
strictAsDouble(Object) - Static method in class ninja.leaping.configurate.Types
 
strictAsFloat(Object) - Static method in class ninja.leaping.configurate.Types
 
strictAsInt(Object) - Static method in class ninja.leaping.configurate.Types
 
strictAsLong(Object) - Static method in class ninja.leaping.configurate.Types
 
strictAsString(Object) - Static method in class ninja.leaping.configurate.Types
 
SYSTEM_LINE_SEPARATOR - Static variable in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
 

T

toComment(Collection<String>) - Method in interface ninja.leaping.configurate.loader.CommentHandler
Convert the given lines into a comment
toComment(Collection<String>) - Method in enum ninja.leaping.configurate.loader.CommentHandlers
 
toString() - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
 
toString() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
 
TransformAction - Interface in ninja.leaping.configurate.transformation
Represents an action to be performed that transforms a node in the configuration tree
Types - Class in ninja.leaping.configurate
Contains functions useful for performing configuration type conversions.
TypeSerializer<T> - Interface in ninja.leaping.configurate.objectmapping.serialize
 
TypeSerializerCollection - Class in ninja.leaping.configurate.objectmapping.serialize
A calculated collection of TypeSerializers
TypeSerializers - Class in ninja.leaping.configurate.objectmapping.serialize
 
TypeSerializers() - Constructor for class ninja.leaping.configurate.objectmapping.serialize.TypeSerializers
 

U

unordered() - Static method in class ninja.leaping.configurate.util.MapFactories
 

V

valueOf(String) - Static method in enum ninja.leaping.configurate.json.FieldValueSeparatorStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ninja.leaping.configurate.loader.CommentHandlers
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ninja.leaping.configurate.loader.HeaderMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ninja.leaping.configurate.transformation.MoveStrategy
Returns the enum constant of this type with the specified name.
values() - Static method in enum ninja.leaping.configurate.json.FieldValueSeparatorStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ninja.leaping.configurate.loader.CommentHandlers
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ninja.leaping.configurate.loader.HeaderMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ninja.leaping.configurate.transformation.MoveStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
versionedBuilder() - Static method in class ninja.leaping.configurate.transformation.ConfigurationTransformation
This creates a builder for versioned transformations -- transformations that contain
VersionedBuilder() - Constructor for class ninja.leaping.configurate.transformation.ConfigurationTransformation.VersionedBuilder
 
visitPath(ConfigurationTransformation.NodePath, ConfigurationNode) - Method in interface ninja.leaping.configurate.transformation.TransformAction
Called at a certain path, with the node at that path

W

WILDCARD_OBJECT - Static variable in class ninja.leaping.configurate.transformation.ConfigurationTransformation
A special object that represents a wildcard in a path provided to a configuration transformer

Y

YAMLConfigurationLoader - Class in ninja.leaping.configurate.yaml
A loader for YAML-formatted configurations, using the snakeyaml library for parsing
YAMLConfigurationLoader.Builder - Class in ninja.leaping.configurate.yaml
 
A B C D E F G H I J L M N O P R S T U V W Y 
Skip navigation links

Copyright © 2014–2017. All rights reserved.