|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.httpclient.URI.LocaleToCharsetMap
public static class URI.LocaleToCharsetMap
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 | |
---|---|
URI.LocaleToCharsetMap()
|
Method Summary | |
---|---|
static java.lang.String |
getCharset(java.util.Locale locale)
Get the preferred charset for the given locale. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URI.LocaleToCharsetMap()
Method Detail |
---|
public static java.lang.String getCharset(java.util.Locale locale)
locale
- the locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |