getValueOrNull

Gets the value of a property identified by the specified key from a Properties object, or null if the key is not found.

Return

the value of the property as a String, or null if the key is not found

Parameters

properties

the Properties object to retrieve the value from

key

the key to identify the property