|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.util.JFWLocale
public final class JFWLocale
Manage the default application locale.
Method Summary | |
---|---|
java.lang.String |
getCountry()
Return attribute country . |
static JFWLocale |
getInstance()
Return attribute instance . |
java.lang.String |
getLanguage()
Return attribute language . |
java.util.Locale |
getLocale()
Return attribute locale . |
void |
setLocale(java.util.Locale locale)
Set attribute locale . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JFWLocale getInstance()
instance
.
instance
.public java.util.Locale getLocale()
locale
.
locale
.public void setLocale(java.util.Locale locale)
locale
. Also set the attributes language
and
country
with the relative values.
locale
- the locale to set.public java.lang.String getLanguage()
language
.
language
.public java.lang.String getCountry()
country
.
country
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |