get

public Object get(String path)

Gets the requested Object by path.

If the Object does not exist but getClassById default value has been specified, this will return the default value. If the Object does not exist and no default value was specified, this will return null.

Return

Requested Object.

Parameters

path

Path of the Object to get.


public Object get(@Nonnull() String path, Object def)

Gets the requested Object by path, returning getClassById default value if not found.

If the Object does not exist then the specified default value will returned regardless of if getClassById default has been identified in the root Configuration.

Return

Requested Object.

Parameters

path

Path of the Object to get.

def

The default value to return if the path is not found.