© 2003 BEA Systems, Inc.

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.


Constructor Summary
DefaultLocaleProvider()
           
 
Method Summary
 Enumeration getLocales(ServletRequest request, ServletContext context)
          Used the request as a source for the preferred Locales
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLocaleProvider

public DefaultLocaleProvider()
Method Detail

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 request
context - the current ServletContext
Returns:
Enumeration of Locales taken from the request

© 2003 BEA Systems, Inc.

Copyright © 2003 BEA Systems, Inc. All Rights Reserved