org.apache.tapestry5.internal.services
Class LocalizationSetterImpl
java.lang.Object
org.apache.tapestry5.internal.services.LocalizationSetterImpl
- All Implemented Interfaces:
- LocalizationSetter
public class LocalizationSetterImpl
- extends Object
- implements LocalizationSetter
Given a set of supported locales, for a specified desired locale, sets the current thread's locale to a supported
locale that is closest to the desired.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalizationSetterImpl
public LocalizationSetterImpl(PersistentLocale persistentLocale,
ThreadLocale threadLocale,
@Inject@Symbol(value="tapestry.supported-locales")
String acceptedLocaleNames)
setThreadLocale
public void setThreadLocale(Locale desiredLocale)
- Specified by:
setThreadLocale in interface LocalizationSetter
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.