Package ninja.leaping.configurate.loader
Base infrastructure for configuration loaders
A configuration loader is responsible for converting between the location of a serialized form (a file, string, or
URL) and a ConfigurationNode
. Most loader implementations will want to extend
AbstractConfigurationLoader
in order to gain some standard abilities.
Any binary formats may want to use other solutions, since the abstract loader assumes in many places that
configuration files are text files.
-
Interface Summary Interface Description CommentHandler Interface specifying methods for handling abstract commentsConfigurationLoader<NodeType extends ConfigurationNode> Represents an object which can load and saveConfigurationNode
objects in a specific configuration format. -
Class Summary Class Description AbstractConfigurationLoader<NodeType extends ConfigurationNode> Base class for many stream-based configuration loaders.AbstractConfigurationLoader.Builder<T extends AbstractConfigurationLoader.Builder<T>> An abstract builder implementation forAbstractConfigurationLoader
s.AtomicFiles A utility for creating "atomic" file writers. -
Enum Summary Enum Description CommentHandlers Defines a number of defaultCommentHandler
s.HeaderMode Modes whichConfigurationLoader
s can use to manipulate headers when loading/saving.