abstract fun getInteger(key: String!): Int (source)
Get an integer from this configuration.
key - String!: A configuration key (e.g. "server.address.port").
IllegalArgumentException - If the key cannot be parsed.
InvalidConfigurationPropertyTypeException - If the value is not an integer.
NoConfigurationPropertyException - If the key was not set in the configuration.
Return
Int: The value.