Package org.apache.commons.httpclient
Class URI.LocaleToCharsetMap
- java.lang.Object
-
- org.apache.commons.httpclient.URI.LocaleToCharsetMap
-
- Enclosing class:
- URI
public static class URI.LocaleToCharsetMap extends java.lang.Object
A mapping to determine the (somewhat arbitrarily) preferred charset for a given locale. Supports all locales recognized in JDK 1.1.The distribution of this class is Servlets.com. It was originally written by Jason Hunter [jhunter at acm.org] and used by with permission.
-
-
Constructor Summary
Constructors Constructor Description LocaleToCharsetMap()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getCharset(java.util.Locale locale)
Get the preferred charset for the given locale.
-