Interface ThreadLocale
- 
- All Known Implementing Classes:
- ThreadLocaleImpl
 
 public interface ThreadLocale Stores the locale for the current thread. This value persists untilRegistry.cleanupThread()is invoked.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalegetLocale()Returns the thread's locale, which will be the JVM's default locale, untilsetLocale(Locale)is invoked.voidsetLocale(Locale locale)Updates the locale for the current thread.
 
- 
- 
- 
Method Detail- 
setLocalevoid setLocale(Locale locale) Updates the locale for the current thread.- Parameters:
- locale- the new locale (may not be null)
 
 - 
getLocaleLocale getLocale() Returns the thread's locale, which will be the JVM's default locale, untilsetLocale(Locale)is invoked.- Returns:
- the thread's locale
 
 
- 
 
-