getIntProperty

open fun getIntProperty(key: String): Int

Retrieves a property value from the loaded properties file and converts it to an integer.

Return

the integer value of the specified property.

Parameters

key

the key of the property to retrieve.

Throws

if the property is not a valid integer value.