Class YamlConfigParser

java.lang.Object
io.helidon.config.yaml.YamlConfigParser
All Implemented Interfaces:
ConfigParser

@Priority(200) public class YamlConfigParser extends Object implements ConfigParser
YAML ConfigParser implementation that supports "application/x-yaml".

The parser implementation supports ServiceLoader, i.e. Config.Builder can automatically load and register YamlConfigParser instance, if not disabled. And of course it can be registered programmatically.

Priority of the YamlConfigParser to be used by Config.Builder, if loaded automatically as a service, is 200.

See Also:
  • Field Details

    • MEDIA_TYPE_APPLICATION_YAML

      public static final String MEDIA_TYPE_APPLICATION_YAML
      A String constant representing "application/x-yaml" media type.
      See Also:
    • PRIORITY

      public static final int PRIORITY
      Priority of the parser used if registered by Config.Builder automatically.
      See Also:
  • Constructor Details

    • YamlConfigParser

      @Deprecated public YamlConfigParser()
      Deprecated.
      This method should not be directly used, use create()
      Default constructor needed by Java Service loader.
  • Method Details