com.arsdigita.globalization
Class ClientLocaleProvider

java.lang.Object
  extended bycom.arsdigita.globalization.ClientLocaleProvider
All Implemented Interfaces:
LocaleProvider

public class ClientLocaleProvider
extends Object
implements LocaleProvider

Provides Locale of the client application.

Version:
$Revision: #7 $ $Date: 2004/04/07 $

Field Summary
static String versionId
           
 
Constructor Summary
ClientLocaleProvider()
           
 
Method Summary
 Locale getLocale()
           Get the provided Locale.
 void setAcceptLanguages(String acceptLanguages)
           
 void setTargetBundle(String targetBundle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

ClientLocaleProvider

public ClientLocaleProvider()
Method Detail

getLocale

public Locale getLocale()
Description copied from interface: LocaleProvider

Get the provided Locale.

Specified by:
getLocale in interface LocaleProvider
Returns:
Locale, The provided Locale.

setTargetBundle

public void setTargetBundle(String targetBundle)

setAcceptLanguages

public void setAcceptLanguages(String acceptLanguages)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC