Class AbstractConfigurationLoader<N extends ScopedConfigurationNode<N>>

  • Type Parameters:
    N - the ConfigurationNode type produced by the loader
    All Implemented Interfaces:
    ConfigurationNodeFactory<N>, ConfigurationLoader<N>

    public abstract class AbstractConfigurationLoader<N extends ScopedConfigurationNode<N>>
    extends java.lang.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.