|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigIncluder
Implement this interface and provide an instance to
ConfigParseOptions.setIncluder()
to
customize handling of include
statements in config files. You may
also want to implement ConfigIncluderClasspath
,
ConfigIncluderFile
, and ConfigIncluderURL
, or not.
Method Summary | |
---|---|
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. |
Method Detail |
---|
ConfigIncluder withFallback(ConfigIncluder fallback)
fallback
-
ConfigObject include(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
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |