getInt

public abstract int getInt(String path)

Gets the requested int by path.

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

Return

Requested int.

Parameters

path

Path of the int to get.


public abstract int getInt(String path, int def)

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

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

Return

Requested int.

Parameters

path

Path of the int to get.

def

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