Interface ConfigParser

All Known Implementing Classes:
HoconConfigParser, PropertiesConfigParser, YamlConfigParser

public interface ConfigParser
Transforms config ConfigParser.Content into a ConfigNode.ObjectNode that represents the original structure and values from the content.

The application can register parsers on a Builder using the Config.Builder.addParser(ConfigParser) method. The config system also locates parsers using the Java ServiceLoader mechanism and automatically adds them to every Builder unless the application disables this feature for a given Builder by invoking Config.Builder.disableParserServices().

A parser can specify a Priority. If no priority is explicitly assigned, the value of 100 is assumed.

Parser is used by the config system and a config source provides data as an input stream.

See Also: