| Package | Description |
|---|---|
| io.helidon.config |
Provides interfaces and classes for loading and working with immutable, tree-structured
configuration data.
|
| io.helidon.config.hocon |
HOCON format ConfigParser implementation using Typesafe (Lightbend) Config library.
|
| io.helidon.config.spi |
Configuration SPI that defines the behavior developers can implement to extend the config system.
|
| io.helidon.config.yaml |
YAML format ConfigParser implementation.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ConfigParser |
ConfigParsers.properties() |
Returns a
ConfigParser implementation that parses Java Properties content
(the media type "text/x-java-properties"). |
| Modifier and Type | Method | Description |
|---|---|---|
Config.Builder |
Config.Builder.addParser(ConfigParser configParser) |
Registers a
ConfigParser instance that can be used by registered ConfigSources to
parse configuration content. |
| Modifier and Type | Method | Description |
|---|---|---|
ConfigParser |
HoconConfigParserBuilder.build() |
Builds new instance of HOCON ConfigParser.
|
static ConfigParser |
HoconConfigParserBuilder.buildDefault() |
Creates new instance of HOCON ConfigParser with default behaviour,
i.e.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected ConfigParser |
AbstractParsableConfigSource.Builder.getParser() |
Returns parser property.
|
protected ConfigParser |
AbstractParsableConfigSource.getParser() |
Returns source associated parser or
null if unknown. |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Optional<ConfigParser> |
ConfigContext.findParser(java.lang.String mediaType) |
Returns the first appropriate
ConfigParser instance that supports
the specified
content media type. |
protected java.util.function.Function<Config.Key,ConfigParser> |
AbstractConfigSource.Builder.getParserMapping() |
| Modifier and Type | Method | Description |
|---|---|---|
B |
AbstractParsableConfigSource.Builder.parser(ConfigParser parser) |
Sets a
ConfigParser instance to be used to parse configuration content. |
| Modifier and Type | Method | Description |
|---|---|---|
B |
AbstractConfigSource.Builder.parserMapping(java.util.function.Function<Config.Key,ConfigParser> parserMapping) |
Sets a function mapping key to a parser.
|
| Modifier and Type | Method | Description |
|---|---|---|
ConfigParser |
YamlConfigParserBuilder.build() |
Builds new instance of YAML ConfigParser.
|
static ConfigParser |
YamlConfigParserBuilder.buildDefault() |
Creates new instance of YAML ConfigParser with default behaviour,
i.e.
|
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.