|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.common.prefs.CombinedPreferencesResolver
Constructor Summary | |
CombinedPreferencesResolver(Preferences[] array)
|
Method Summary | |
java.util.Set |
getKeys()
Return the merged key set. |
Value |
getValue(java.lang.String key)
Return a preference among the sets or null if no suitable preference is found. |
boolean |
isReadOnly(java.lang.String key)
Say if the preference is marked as read only. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CombinedPreferencesResolver(Preferences[] array)
Method Detail |
public Value getValue(java.lang.String key) throws java.lang.IllegalArgumentException
PreferencesResolver
getValue
in interface PreferencesResolver
key
- the requested key
java.lang.IllegalArgumentException
- if the key or the array is nullpublic boolean isReadOnly(java.lang.String key) throws java.lang.IllegalArgumentException
PreferencesResolver
isReadOnly
in interface PreferencesResolver
key
- the requested key
java.lang.IllegalArgumentException
- if the key or the array is nullpublic java.util.Set getKeys() throws java.lang.IllegalArgumentException
PreferencesResolver
getKeys
in interface PreferencesResolver
java.lang.IllegalArgumentException
- if the array is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |