public class Locales
extends java.lang.Object
Constructor and Description |
---|
Locales() |
Modifier and Type | Method and Description |
---|---|
static java.util.Locale |
getCurrent()
The Locale associated to the current thread.
|
static void |
setCurrent(HttpServletRequest request)
Associated the Locale of the request to the current thread.
|
static void |
setCurrent(java.util.Locale locale)
Associated a Locale to the current thread.
|
public static java.util.Locale getCurrent()
public static void setCurrent(java.util.Locale locale)
public static void setCurrent(HttpServletRequest request)