@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
Package org.spongepowered.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 will probably want
to find other solutions, since the abstract loader assumes in many places
that configuration files are text files.
-
Interface Summary Interface Description CommentHandler Extracts comments from a buffered reader or collection of lines.ConfigurationLoader<N extends ConfigurationNode> Represents an object which can load and saveConfigurationNode
objects in a specific configuration format. -
Class Summary Class Description AbstractConfigurationLoader<N extends ScopedConfigurationNode<N>> Base class for many stream-based configuration loaders.AbstractConfigurationLoader.Builder<T extends AbstractConfigurationLoader.Builder<T,L>,L extends AbstractConfigurationLoader<?>> 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. -
Exception Summary Exception Description ParsingException Indicates an error that occurred while parsing the configuration.