public class LocaleHelper
extends java.lang.Object
Constructor and Description |
---|
LocaleHelper() |
Modifier and Type | Method and Description |
---|---|
static java.util.Locale |
extractLocale(java.lang.String lang) |
static java.lang.String |
toLanguageString(java.util.Locale value)
HTTP 1.1 has different String format for language than what java.util.Locale does '-' instead of '_'
as a separator
|
public static java.util.Locale extractLocale(java.lang.String lang)
public static java.lang.String toLanguageString(java.util.Locale value)
value
-