getBoolean

public abstract boolean getBoolean(String path)

Gets the requested boolean by path.

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

Return

Requested boolean.

Parameters

path

Path of the boolean to get.


public abstract boolean getBoolean(String path, boolean def)

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

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

Return

Requested boolean.

Parameters

path

Path of the boolean to get.

def

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