|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPreferenceStoreStrategy
NOT API. A "strategy" object that the PreferenceControllerImpl uses to store its data.
| Method Summary | |
|---|---|
java.lang.String |
get(java.lang.String key)
Gets the value of the preference |
java.lang.String[] |
keys()
Returns all the keys of the existing preferences |
void |
put(java.lang.String key,
java.lang.String value)
Sets the prefence |
void |
setValidator(IValidator validator)
Sets the validator that this strategy uses. |
void |
unset(java.lang.String key)
Clears the preference so the default is used. |
| Method Detail |
|---|
java.lang.String get(java.lang.String key)
key - preference key
void put(java.lang.String key,
java.lang.String value)
key - the preference keyvalue - the new value.void unset(java.lang.String key)
key - the preference key;java.lang.String[] keys()
void setValidator(IValidator validator)
validator - new validator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||