Properties.getProperty

Properties.getProperty

Class Overview | Class Members | This Package | All Packages

Syntax 1
public String getProperty( String key )
Parameters
key
the property key.
Returns
the value in this property list with the specified key value.
Description
Searches for the property with the specified key in this property list. If the key is not found in this property list, the default property list, and its defaults, recursively, are then checked. The method returns null if the property is not found.

See Also
defaults



Syntax 2
public String getProperty( String key, String defaultValue )
Parameters
key
the hashtable key.
defaultValue
a default value.
Returns
the value in this property list with the specified key value.
Description
Searches for the property with the specified key in this property list. If the key is not found in this property list, the default property list, and its defaults, recursively, are then checked. The method returns the default value argument if the property is not found.

See Also
defaults