Package org.spongepowered.configurate.loader
@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.
-
ClassDescriptionAbstractConfigurationFormat<N extends ScopedConfigurationNode<N>,
L extends AbstractConfigurationLoader<N>, B extends AbstractConfigurationLoader.Builder<B, L>> An implementation ofConfigurationFormat
designed to work withAbstractConfigurationLoader
.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.A utility for creating "atomic" file writers.Extracts comments from a buffered reader or collection of lines.Defines a number of defaultCommentHandler
s.A service provider interface declaring a specific configuration format.ConfigurationLoader<N extends ConfigurationNode>Represents an object which can load and saveConfigurationNode
objects in a specific configuration format.Modes whichConfigurationLoader
s can use to manipulate headers when loading/saving.A provider forConfigurationLoader
options.Indicates an error that occurred while parsing the configuration.