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 ConfigOrigin |
ConfigOriginFactory.newFile(String filename)
Creates a file origin with the given filename.
|
static ConfigOrigin |
ConfigOriginFactory.newSimple()
Returns the default origin for values when no other information is
provided.
|
static ConfigOrigin |
ConfigOriginFactory.newSimple(String description)
Returns an origin with the given description.
|
static ConfigOrigin |
ConfigOriginFactory.newURL(URL url)
Creates a url origin with the given URL object.
|
ConfigOrigin |
ConfigException.origin()
Returns an "origin" (such as a filename and line number) for the
exception, or null if none is available.
|
ConfigOrigin |
ConfigException.ValidationProblem.origin()
Returns where the problem occurred (origin may include info on the
file, line number, etc.).
|
ConfigOrigin |
ConfigValue.origin()
The origin of the value (file, line number, etc.), for debugging and
error messages.
|
ConfigOrigin |
Config.origin()
Gets the origin of the
Config , which may be a file, or a file
with a line number, or just a descriptive phrase. |
ConfigOrigin |
ConfigParseable.origin()
Returns a
ConfigOrigin describing the origin of the parseable
item. |
ConfigOrigin |
ConfigOrigin.withComments(List<String> comments)
Returns a
ConfigOrigin based on this one, but with the given
comments. |
ConfigOrigin |
ConfigOrigin.withLineNumber(int lineNumber)
Returns a
ConfigOrigin based on this one, but with the given
line number. |
Modifier and Type | Method and Description |
---|---|
ConfigObject |
ConfigObject.withOrigin(ConfigOrigin origin) |
ConfigValue |
ConfigValue.withOrigin(ConfigOrigin origin)
Returns a
ConfigValue based on this one, but with the given
origin. |
ConfigList |
ConfigList.withOrigin(ConfigOrigin origin) |
Modifier and Type | Method and Description |
---|---|
protected abstract ConfigOrigin |
Parseable.createOrigin() |
static ConfigOrigin |
ConfigImpl.newFileOrigin(String filename) |
static ConfigOrigin |
ConfigImpl.newSimpleOrigin(String description) |
static ConfigOrigin |
ConfigImpl.newURLOrigin(URL url) |
ConfigOrigin |
Parseable.origin() |
static ConfigOrigin |
ConfigImplUtil.readOrigin(ObjectInputStream in) |
Modifier and Type | Method and Description |
---|---|
protected ConfigDocument |
Parseable.rawParseDocument(ConfigOrigin origin,
ConfigParseOptions finalOptions) |
protected com.typesafe.config.impl.AbstractConfigValue |
Parseable.rawParseValue(ConfigOrigin origin,
ConfigParseOptions finalOptions) |
static void |
ConfigImplUtil.writeOrigin(ObjectOutputStream out,
ConfigOrigin origin) |
Copyright © 2018 com.typesafe. All rights reserved.