|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tomcat.util.http.AcceptLanguage
public class AcceptLanguage
Util to process the "Accept-Language" header. Used by facade to implement getLocale() and by StaticInterceptor. Not optimized - it's very slow.
Constructor Summary | |
---|---|
AcceptLanguage()
|
Method Summary | |
---|---|
static java.util.Locale |
getLocale(java.lang.String acceptLanguage)
|
static java.util.Enumeration |
getLocales(java.lang.String acceptLanguage)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AcceptLanguage()
Method Detail |
---|
public static java.util.Locale getLocale(java.lang.String acceptLanguage)
public static java.util.Enumeration getLocales(java.lang.String acceptLanguage)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |