Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
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 © 2000–2016 AO Industries, Inc.. All rights reserved.