PropertySheet¶
-
public interface
PropertySheet
¶ PropertySheet is a common interface of a properties container.
Author: Hugo Y. K. Lam
Methods¶
append¶
-
public boolean
append
(PropertySheet p)¶ Appends a property sheet to this property sheet.
Parameters: - p – the property sheet to be appended.
Returns: true if the operation is successful. false otherwise.
containsKey¶
createProperties¶
-
public Properties
createProperties
(String key)¶ Creates a Properties object which stores the properties retrieved by the specified key.
Parameters: - key – the property key.
Returns: a Properties object which stores the retrieved properties.
getProperties¶
getProperties¶
-
public String[][]
getProperties
(String key, String key2)¶ Gets a two-dimensional list of properties with the specified keys. The first key will define the first dimension of the list and the second key will define the second dimension.
Parameters: - key – the first property key.
- key2 – the second property key.
Returns: a two-dimensional list of properties with the specified keys.
getProperty¶
getProperty¶
load¶
propertyNames¶
-
public Enumeration
propertyNames
()¶ Gets all the existing property names.
Returns: all the existing property names.