SimpleIncludeContext

org.ekrich.config.impl.SimpleIncludeContext

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(parseable: Parseable)

Concrete methods

Parse options to use (if you use another method to get a ConfigParseable then use ConfigParseable#options instead though).

Parse options to use (if you use another method to get a ConfigParseable then use ConfigParseable#options instead though).

Attributes

Returns

the parse options

Definition Classes
override def relativeTo(filename: String): ConfigParseable

Tries to find a name relative to whatever is doing the including, for example in the same directory as the file doing the including. Returns null if it can't meaningfully create a relative name. The returned parseable may not exist; this function is not required to do any IO, just compute what the name would be.

Tries to find a name relative to whatever is doing the including, for example in the same directory as the file doing the including. Returns null if it can't meaningfully create a relative name. The returned parseable may not exist; this function is not required to do any IO, just compute what the name would be.

The passed-in filename has to be a complete name (with extension), not just a basename. (Include statements in config files are allowed to give just a basename.)

Value parameters

filename

the name to make relative to the resource doing the including

Attributes

Returns

parseable item relative to the resource doing the including, or null

Definition Classes

Copy this ConfigIncludeContext giving it a new value for its parseOptions.

Copy this ConfigIncludeContext giving it a new value for its parseOptions.

Value parameters

options

new parse options to use

Attributes

Returns

the updated copy of this context

Definition Classes