info.magnolia.i18nsystem
Class ContextLocaleProvider

java.lang.Object
  extended by 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.


Constructor Summary
ContextLocaleProvider()
           
 
Method Summary
 Locale getLocale()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextLocaleProvider

public ContextLocaleProvider()
Method Detail

getLocale

public Locale getLocale()
Specified by:
getLocale in interface LocaleProvider


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.