public class LocaleUtils extends Object
Constructor and Description |
---|
LocaleUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getDefaultCharSet()
Gets the default charset defined by a property named
"locale.default.charset"
|
static String |
getDefaultInputEncoding()
Returns the default input encoding for the servlet.
|
static Locale |
getDefaultLocale()
Gets the default locale defined by properties named "locale.default.lang"
and "locale.default.country".
|
static String |
getOverrideCharSet()
Gets the charset defined by a property named "locale.override.charset"
This property has no default.
|
public static String getDefaultInputEncoding()
public static Locale getDefaultLocale()
public static String getDefaultCharSet()
public static String getOverrideCharSet()
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.