public interface ConfigIncluder
ConfigParseOptions.setIncluder() to
customize handling of include statements in config files. You may
also want to implement ConfigIncluderClasspath,
ConfigIncluderFile, and ConfigIncluderURL, or not.| Modifier and Type | Method and Description |
|---|---|
ConfigObject |
include(ConfigIncludeContext context,
java.lang.String what)
Parses another item to be included.
|
ConfigIncluder |
withFallback(ConfigIncluder fallback)
Returns a new includer that falls back to the given includer.
|
withFallback(ConfigIncluder fallback)
fallback - the previous includer for chaininginclude(ConfigIncludeContext context, java.lang.String what)
ConfigIncluder must
also implement ConfigIncluderClasspath,
ConfigIncluderFile, or ConfigIncluderURL as needed, or a
default includer will be used.context - some info about the include contextwhat - the include statement's argument