com.arsdigita.globalization
Class ApplicationLocaleProvider

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

public class ApplicationLocaleProvider
extends Object
implements LocaleProvider

Provides the Locale of an application.

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

Field Summary
static String versionId
           
 
Constructor Summary
ApplicationLocaleProvider()
           
 
Method Summary
 Locale getLocale()
           Get the provided Locale.
 void setLocale(Locale locale)
           Set the Locale you wish to provide.
 
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

ApplicationLocaleProvider

public ApplicationLocaleProvider()
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.

setLocale

public void setLocale(Locale locale)

Set the Locale you wish to provide.



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