com.bea.netuix.servlets.l10n
Class DefaultLocaleProvider
java.lang.Object
|
+--com.bea.netuix.servlets.l10n.DefaultLocaleProvider
- All Implemented Interfaces:
- LocaleProvider
- public class DefaultLocaleProvider
- extends Object
- implements LocaleProvider
Default implementation of LocaleProvider that uses the
HttpServletRequest as the source of preferred Locales.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLocaleProvider
public DefaultLocaleProvider()
getLocales
public Enumeration getLocales(ServletRequest request,
ServletContext context)
- Used the request as a source for the preferred Locales
- Specified by:
getLocales
in interface LocaleProvider
- Parameters:
request
- the current requestcontext
- the current ServletContext
- Returns:
- Enumeration of Locales taken from the request
Copyright © 2003 BEA Systems, Inc. All Rights Reserved