| java.lang.Object com.oreilly.servlet.LocaleToCharsetMap
LocaleToCharsetMap | public class LocaleToCharsetMap (Code) | | A mapping to determine the (somewhat arbitrarily) preferred charset for
a given locale. Supports all locales recognized in JDK 1.1. This
class is used by the LocaleNegotiator.
See Also: com.oreilly.servlet.LocaleNegotiator author: Jason Hunter, Copyright © 1998 version: 1.0, 98/09/18 |
Method Summary | |
public static String | getCharset(Locale loc) Gets the preferred charset for the given locale, or null if the locale
is not recognized. |
getCharset | public static String getCharset(Locale loc)(Code) | | Gets the preferred charset for the given locale, or null if the locale
is not recognized.
Parameters: loc - the locale the preferred charset |
|
|