Class AbstractConfigurationLoader<N extends ScopedConfigurationNode<N>>

java.lang.Object
org.spongepowered.configurate.loader.AbstractConfigurationLoader<N>
Type Parameters:
N - the ConfigurationNode type produced by the loader
All Implemented Interfaces:
ConfigurationNodeFactory<N>, ConfigurationLoader<N>
Direct Known Subclasses:
GsonConfigurationLoader, HoconConfigurationLoader, JacksonConfigurationLoader, XmlConfigurationLoader, YamlConfigurationLoader

public abstract class AbstractConfigurationLoader<N extends ScopedConfigurationNode<N>> extends Object implements ConfigurationLoader<N>
Base class for many stream-based configuration loaders. This class provides conversion from a variety of input sources to BufferedReader suppliers, providing a consistent API for loaders to read from and write to.

Either the source or sink may be null. If this is true, this loader may not support either loading or saving. In this case, implementing classes are expected to throw an IOException for the unsupported operation.

Since:
4.0.0