abstract fun getLong(key: String!): Long
(source)
Get a long 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 a long.
NoConfigurationPropertyException
- If the key was not set in the configuration.
Return
Long: The value.