|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.common.util.LocalizedString
A localized string.
Constructor Summary | |
LocalizedString(java.util.Map values,
java.util.Locale defaultLocale)
|
Method Summary | |
java.util.Locale |
getDefaultLocale()
Return the default locale of this description. |
java.lang.String |
getValue(java.util.Locale locale,
boolean resolve)
Return a localized value of the description. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocalizedString(java.util.Map values, java.util.Locale defaultLocale)
Method Detail |
public java.lang.String getValue(java.util.Locale locale, boolean resolve)
locale
- the desired locale for the descriptionresolve
- true if the locale must be resolved to the most appropriate
public java.util.Locale getDefaultLocale()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |