The standard empty instance.
Constructs an instance using the parser supplied and with a specified set of required keys, usually obtained from a default instance.
Constructs an instance using the parser supplied and with a specified set of required keys, usually obtained from a default instance.
Constructs an instance from an input source and with a specified set of required keys, usually obtained from a default instance.
Constructs an instance from an input source and with a specified set of required keys, usually obtained from a default instance.
Constructs an instance from a file and with a specified set of required keys, usually obtained from a default instance.
Constructs an instance from a file and with a specified set of required keys, usually obtained from a default instance.
Constructs an instance using the parser supplied and with an optional fallback to be cascaded.
Constructs an instance from an input source and with an optional fallback to be cascaded.
Constructs an instance from an input source and with an optional fallback to be cascaded.
Constructs an instance from a file and with an optional fallback to be cascaded.
Constructs an instance from a file and with an optional fallback to be cascaded.
Constructs an instance using an existing Config with a cascaded fallback.
Constructs an instance using the parser supplied and with a cascaded fallback.
Constructs an instance from an input source and with a cascaded fallback.
Constructs an instance from an input source and with a cascaded fallback.
Constructs an instance from a file and with a cascaded fallback.
Constructs an instance from a file and with a cascaded fallback.
Constructs an instance using the parser supplied.
Constructs an instance from an input source.
Constructs an instance from an input source.
Constructs an instance from a file.
Constructs an instance from a file.
Constructs an instance from properties.
Constructs an instance from a classpath resource and with a specified set of required keys, usually obtained from a default instance.
Constructs an instance from a classpath resource and with a specified set of required keys, usually obtained from a default instance.
Constructs an instance from a classpath resource and with an optional fallback to be cascaded.
Constructs an instance from a classpath resource and with an optional fallback to be cascaded.
Constructs an instance from a classpath resource and with a cascaded fallback.
Constructs an instance from a classpath resource and with a cascaded fallback.
Constructs an instance from a classpath resource.
Constructs an instance from a classpath resource.
(Since version since v1.3.1) Use 'Empty' instead
Provides the factory methods for constructing instances from various sources. The sources are parsed and string interpolations are resolved. A 'daisy-chain' cascade of successive configurations is possible. This is where the resultant set of keys is the set union of those in this configuration and those in the fallback's. For every overlapping key, the fallback's value is overridden by this configuration, which takes precedence.
When interpolating strings, all the keys known at the point of the interpolation are available, including those only defined in the fallback. This is done only once on each configuration, when it is loaded. Therefore, if a configuration is later used as a fallback for another, its interpolations do not get re-evaluated when the later configuration is loaded. This minor limitation allows considerable benefit in that the memory footprint and processing effort are both low; the converse of evaluating interpolations on the fly would be that processing effort would be higher, or about twice as much memory would be needed, or both.