|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.service.impl.ThreadLocaleImpl
public class ThreadLocaleImpl
Constructor Summary | |
---|---|
ThreadLocaleImpl(java.util.Locale locale)
|
Method Summary | |
---|---|
java.util.Locale |
getLocale()
Returns the current locale. |
void |
setLocale(java.util.Locale locale)
Changes the locale from the default. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadLocaleImpl(java.util.Locale locale)
Method Detail |
---|
public void setLocale(java.util.Locale locale)
ThreadLocale
setLocale
in interface ThreadLocale
public java.util.Locale getLocale()
ThreadLocale
Registry.getLocale()
default locale. This may be changed for a
thread.
getLocale
in interface ThreadLocale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |