info.magnolia.i18nsystem
Class ContextLocaleProvider
java.lang.Object
info.magnolia.i18nsystem.ContextLocaleProvider
- All Implemented Interfaces:
- LocaleProvider
public class ContextLocaleProvider
- extends Object
- implements LocaleProvider
A default implementation of LocaleProvider
which uses MgnlContext.getLocale()
to provide the current Locale.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextLocaleProvider
public ContextLocaleProvider()
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interface LocaleProvider
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.