public interface ConfigIncludeContext
ConfigIncluder
; this interface is only useful
inside a ConfigIncluder
implementation, and is not intended for apps
to implement.
Do not implement this interface; it should only be implemented by the config library. Arbitrary implementations will not work because the library internals assume a specific concrete implementation. Also, this interface is likely to grow new methods over time, so third-party implementations will break.
Modifier and Type | Method and Description |
---|---|
ConfigParseOptions |
parseOptions()
Parse options to use (if you use another method to get a
ConfigParseable then use ConfigParseable.options()
instead though). |
ConfigParseable |
relativeTo(java.lang.String filename)
Tries to find a name relative to whatever is doing the including, for
example in the same directory as the file doing the including.
|
ConfigIncludeContext |
setParseOptions(ConfigParseOptions options)
Copy this
ConfigIncludeContext giving it a new value for its parseOptions. |
relativeTo(java.lang.String filename)
filename
- the name to make relative to the resource doing the includingparseOptions()
ConfigParseable
then use ConfigParseable.options()
instead though).setParseOptions(ConfigParseOptions options)
ConfigIncludeContext
giving it a new value for its parseOptions.options
- new parse options to use