Package | Description |
---|---|
com.typesafe.config.impl |
Internal implementation details that can change ABI at any time.
|
com.typesafe.config.parser |
This package supplies a raw parser and syntax tree for individual HOCON and JSON
files.
|
Modifier and Type | Method and Description |
---|---|
ConfigDocument |
Parseable.parseConfigDocument() |
protected ConfigDocument |
Parseable.rawParseDocument(ConfigOrigin origin,
ConfigParseOptions finalOptions) |
Modifier and Type | Method and Description |
---|---|
static ConfigDocument |
ConfigDocumentFactory.parseFile(File file)
Parses a file into a ConfigDocument instance as with
ConfigDocumentFactory.parseFile(File,ConfigParseOptions) but always uses the
default parse options. |
static ConfigDocument |
ConfigDocumentFactory.parseFile(File file,
ConfigParseOptions options)
Parses a file into a ConfigDocument instance.
|
static ConfigDocument |
ConfigDocumentFactory.parseReader(Reader reader)
Parses a reader into a Config instance as with
ConfigDocumentFactory.parseReader(Reader,ConfigParseOptions) but always uses the
default parse options. |
static ConfigDocument |
ConfigDocumentFactory.parseReader(Reader reader,
ConfigParseOptions options)
Parses a Reader into a ConfigDocument instance.
|
static ConfigDocument |
ConfigDocumentFactory.parseString(String s)
Parses a string (which should be valid HOCON or JSON).
|
static ConfigDocument |
ConfigDocumentFactory.parseString(String s,
ConfigParseOptions options)
Parses a string which should be valid HOCON or JSON.
|
ConfigDocument |
ConfigDocument.withoutPath(String path)
Returns a new ConfigDocument that is a copy of the current ConfigDocument, but with
all values at the desired path removed.
|
ConfigDocument |
ConfigDocument.withValue(String path,
ConfigValue newValue)
Returns a new ConfigDocument that is a copy of the current
ConfigDocument, but with the desired value set at the
desired path.
|
ConfigDocument |
ConfigDocument.withValueText(String path,
String newValue)
Returns a new ConfigDocument that is a copy of the current ConfigDocument,
but with the desired value set at the desired path.
|
Copyright © 2018 com.typesafe. All rights reserved.