public final class ThreadLocale extends Object
| Modifier and Type | Method and Description |
|---|---|
static Locale |
get()
Gets the current thread's locale or the system default if not yet set.
|
static void |
set(Locale locale)
Sets the current thread's locale.
|
static <V> V |
set(Locale locale,
Callable<V> callable)
Changes the current thread locale and calls the Callable.
|
Copyright © 2016. All rights reserved.