Package | Description |
---|---|
com.typesafe.config |
An API for loading and using configuration files, see the project site
for more information.
|
com.typesafe.config.impl |
Internal implementation details that can change ABI at any time.
|
Modifier and Type | Method and Description |
---|---|
static ConfigObject |
ConfigValueFactory.fromMap(Map<String,? extends Object> values)
See the other overload
ConfigValueFactory.fromMap(Map,String) for details, this one
just uses a default origin description. |
static ConfigObject |
ConfigValueFactory.fromMap(Map<String,? extends Object> values,
String originDescription)
See the
ConfigValueFactory.fromAnyRef(Object,String) documentation for details. |
ConfigObject |
Config.getObject(String path) |
ConfigObject |
ConfigIncluder.include(ConfigIncludeContext context,
String what)
Parses another item to be included.
|
ConfigObject |
ConfigIncluderFile.includeFile(ConfigIncludeContext context,
File what)
Parses another item to be included.
|
ConfigObject |
ConfigIncluderClasspath.includeResources(ConfigIncludeContext context,
String what)
Parses another item to be included.
|
ConfigObject |
ConfigIncluderURL.includeURL(ConfigIncludeContext context,
URL what)
Parses another item to be included.
|
ConfigObject |
ConfigParseable.parse(ConfigParseOptions options)
Parse whatever it is.
|
ConfigObject |
Config.root()
Gets the
Config as a tree of ConfigObject . |
ConfigObject |
ConfigObject.withFallback(ConfigMergeable other) |
ConfigObject |
ConfigObject.withOnlyKey(String key)
Clone the object with only the given key (and its children) retained; all
sibling keys are removed.
|
ConfigObject |
ConfigObject.withOrigin(ConfigOrigin origin) |
ConfigObject |
ConfigObject.withoutKey(String key)
Clone the object with the given key removed.
|
ConfigObject |
ConfigObject.withValue(String key,
ConfigValue value)
Returns a
ConfigObject based on this one, but with the given key
set to the given value. |
Modifier and Type | Method and Description |
---|---|
List<? extends ConfigObject> |
Config.getObjectList(String path)
Gets a list value with object elements.
|
Modifier and Type | Method and Description |
---|---|
static ConfigObject |
ConfigImpl.fromPathMap(Map<String,? extends Object> pathMap,
String originDescription) |
ConfigObject |
Parseable.parse() |
ConfigObject |
Parseable.parse(ConfigParseOptions baseOptions) |
static ConfigObject |
ConfigImpl.parseFileAnySyntax(File basename,
ConfigParseOptions baseOptions) |
static ConfigObject |
ConfigImpl.parseResourcesAnySyntax(Class<?> klass,
String resourceBasename,
ConfigParseOptions baseOptions) |
static ConfigObject |
ConfigImpl.parseResourcesAnySyntax(String resourceBasename,
ConfigParseOptions baseOptions) |
Copyright © 2018 com.typesafe. All rights reserved.