|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MultiValueSettings
This interface defines the methods that are necessary to get and and set settings which might have multiple values.
The inherited methods must work as follows:
| Method Summary | |
|---|---|
java.lang.String[] |
getValuesOf(java.lang.String keyName)
Returns the values that are registered under the given keyName. |
java.lang.String[] |
getValuesOf(java.lang.String categoryName,
java.lang.String keyName)
Returns the values of keyName in the specified category. |
void |
removeValue(java.lang.String keyName,
java.lang.String value)
Removes the given value from the setting with the specified key which is looked up in the default category. |
void |
removeValue(java.lang.String categoryName,
java.lang.String keyName,
java.lang.String value)
Removes the given value from the setting with the specified key in the specified category. |
| Methods inherited from interface org.pf.settings.Settings |
|---|
removeCategory, removeDefaultCategory, removeKey, removeKey, setValueOf, setValueOf |
| Methods inherited from interface org.pf.settings.ReadOnlySettings |
|---|
getCategoryNames, getDefaults, getKeyNamesOf, getKeyNamesOfDefaultCategory, getName, getSettingsNameOf, getSettingsNameOf, getValueOf, getValueOf, setDefaults, setName |
| Method Detail |
|---|
java.lang.String[] getValuesOf(java.lang.String keyName)
keyName - The name of a key inside the default category
java.lang.String[] getValuesOf(java.lang.String categoryName,
java.lang.String keyName)
categoryName - The name of the category (null means the default category)keyName - The name of a key inside the category
void removeValue(java.lang.String categoryName,
java.lang.String keyName,
java.lang.String value)
categoryName - The name of the category the key resides inkeyName - The name of the key from which to remove the valuevalue - The value to remove
void removeValue(java.lang.String keyName,
java.lang.String value)
keyName - The name of the key from which to remove the valuevalue - The value to remove
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||