|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MergeStrategy
Merge several property set into one.
Method Summary | |
---|---|
java.util.Set |
getKeySet(PreferenceSet[] sets)
Return the merged key set. |
Preference |
getPreference(PreferenceSet[] sets,
java.lang.String key)
Return a preference among the sets or null if no suitable preference is found. |
boolean |
isReadOnly(PreferenceSet[] sets,
java.lang.String key)
Say if the preference is marked as read only. |
Method Detail |
---|
Preference getPreference(PreferenceSet[] sets, java.lang.String key) throws java.lang.IllegalArgumentException
sets
- the set of preference to inspectkey
- the requested key
java.lang.IllegalArgumentException
- if the key or the sets is nullboolean isReadOnly(PreferenceSet[] sets, java.lang.String key) throws java.lang.IllegalArgumentException
sets
- the set of preference to inspectkey
- the requested key
java.lang.IllegalArgumentException
- if the key or the sets is nulljava.util.Set getKeySet(PreferenceSet[] sets) throws java.lang.IllegalArgumentException
sets
- the set of preference to inspect
java.lang.IllegalArgumentException
- if tje sets is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |