Appends a ConfigIncluder
which customizes how
includes are handled.
Appends a ConfigIncluder
which customizes how
includes are handled. To append, the library calls
ConfigIncluder#withFallback
on the existing includer.
the includer to append (may not be null)
new version of the parse options with different includer
Gets the current "allow missing" flag.
Gets the current "allow missing" flag.
whether we allow missing files
Get the class loader; never returns null
, if the class loader was
unset, returns
Thread.currentThread().getContextClassLoader()
.
Get the class loader; never returns null
, if the class loader was
unset, returns
Thread.currentThread().getContextClassLoader()
.
class loader to use
Gets the current includer (will be null for the default includer).
Gets the current includer (will be null for the default includer).
current includer or null
Gets the current origin description, which may be null for "automatic".
Gets the current origin description, which may be null for "automatic".
the current origin description or null
Gets the current syntax option, which may be null for "any".
Gets the current syntax option, which may be null for "any".
the current syntax or null
Prepends a ConfigIncluder
which customizes how
includes are handled.
Prepends a ConfigIncluder
which customizes how
includes are handled. To prepend your includer, the
library calls ConfigIncluder#withFallback
on your
includer to append the existing includer to it.
the includer to prepend (may not be null)
new version of the parse options with different includer
Set to false to throw an exception if the item being parsed (for example a file) is missing.
Set to false to throw an exception if the item being parsed (for example a file) is missing. Set to true to just return an empty document in that case. Note that this setting applies on only to fetching the root document, it has no effect on any nested includes.
true to silently ignore missing item
options with the "allow missing" flag set
Set the class loader.
Set the class loader. If set to null,
Thread.currentThread().getContextClassLoader()
will be used.
a class loader or null
to use thread context class
loader
options with the class loader set
Set a ConfigIncluder
which customizes how includes are handled.
Set a ConfigIncluder
which customizes how includes are handled.
null means to use the default includer.
the includer to use or null for default
new version of the parse options with different includer
Set a description for the thing being parsed.
Set a description for the thing being parsed. In most cases this will be
set up for you to something like the filename, but if you provide just an
input stream you might want to improve on it. Set to null to allow the
library to come up with something automatically. This description is the
basis for the ConfigOrigin
of the parsed values.
description to put in the ConfigOrigin
options with the origin description set
Set the file format.
Set the file format. If set to null, try to guess from any available
filename extension; if guessing fails, assume ConfigSyntax#CONF
.
a syntax or null
for best guess
options with the syntax set
Set the file format.
Set the file format. If set to null, assume ConfigSyntax#CONF
.
a configuration file name
options with the syntax set