Class AbstractConfigurationLoader<NodeType extends ConfigurationNode>

Type Parameters:
NodeType - The ConfigurationNode type produced by the loader
All Implemented Interfaces:
Direct Known Subclasses:
GsonConfigurationLoader, HoconConfigurationLoader, JSONConfigurationLoader, XMLConfigurationLoader, YAMLConfigurationLoader

public abstract class AbstractConfigurationLoader<NodeType extends ConfigurationNode>
extends Object
implements ConfigurationLoader<NodeType>
Base class for many stream-based configuration loaders. This class provides conversion from a variety of input sources to CharSource/Sink objects, 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.