ConfigFactoryJvmNative
ConfigFactory methods common to JVM and Native
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
class PlatformConfigFactoryobject ConfigFactory.type
Members list
Value members
Inherited methods
Parses a reader into a Config instance as with parseReader(Reader, ConfigParseOptions) but always uses the default parse options.
Parses a reader into a Config instance as with parseReader(Reader, ConfigParseOptions) but always uses the default parse options.
Value parameters
- reader
-
the reader to parse
Attributes
- Returns
-
the parsed configuration
- Throws
-
ConfigException
on IO or parse errors
- Inherited from:
- ConfigFactoryCommon
Parses a Reader into a Config instance. Does not call Config.resolve() or merge the parsed stream with any other configuration; this method parses a single stream and does nothing else. It does process "include" statements in the parsed stream, and may end up doing other IO due to those statements.
Parses a Reader into a Config instance. Does not call Config.resolve() or merge the parsed stream with any other configuration; this method parses a single stream and does nothing else. It does process "include" statements in the parsed stream, and may end up doing other IO due to those statements.
Value parameters
- options
-
parse options to control how the reader is interpreted
- reader
-
the reader to parse
Attributes
- Returns
-
the parsed configuration
- Throws
-
ConfigException
on IO or parse errors
- Inherited from:
- ConfigFactoryCommon
Parses a string (which should be valid HOCON or JSON).
Parses a string (which should be valid HOCON or JSON).
Value parameters
- s
-
string to parse
Attributes
- Returns
-
the parsed configuration
- Inherited from:
- ConfigFactoryCommon
Parses a string (which should be valid HOCON or JSON by default, or the syntax specified in the options otherwise).
Parses a string (which should be valid HOCON or JSON by default, or the syntax specified in the options otherwise).
Value parameters
- options
-
parse options
- s
-
string to parse
Attributes
- Returns
-
the parsed configuration
- Inherited from:
- ConfigFactoryCommon