public class ContextLocaleProvider extends LocaleProvider
LocaleProvider
which uses Context.getLocale()
to provide the current Locale.Constructor and Description |
---|
ContextLocaleProvider(Context context) |
Modifier and Type | Method and Description |
---|---|
Locale |
getLocale() |
get
@Inject public ContextLocaleProvider(Context context)
public Locale getLocale()
getLocale
in class LocaleProvider
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.