|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.portlets.localization.LocaleBean
public class LocaleBean
LocaleBean wraps a java.util.Locale instance and provides simple getters for the display properties.
| Constructor Summary | |
|---|---|
LocaleBean(Locale locale)
Construct a new locale wrapper bean, using the default display values. |
|
LocaleBean(Locale locale,
Locale currentLocale)
Construct a new locale wrapper bean, setting all display values to the currently specified locale. |
|
| Method Summary | |
|---|---|
String |
getCode()
Get the string representation of this locale. |
String |
getDisplayCountry()
|
String |
getDisplayLanguage()
|
String |
getDisplayName()
|
String |
getDisplayVariant()
|
Locale |
getLocale()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocaleBean(Locale locale,
Locale currentLocale)
locale - currentLocale - public LocaleBean(Locale locale)
locale - | Method Detail |
|---|
public String getCode()
public String getDisplayName()
public String getDisplayCountry()
public String getDisplayLanguage()
public String getDisplayVariant()
public Locale getLocale()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||