public static class L10n.SimpleL10nCurrentLocaleProvider extends java.lang.Object implements L10nCurrentLocaleProviderI
DEFAULT_FALLBACKS| Constructor and Description |
|---|
SimpleL10nCurrentLocaleProvider(java.util.Locale _locale) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getLanguageFallbackChain()
Resolves the deterministic, ordered language fallback chain.
|
java.util.Locale |
getLocale()
Returns the currently active base locale.
|
void |
setLocale(java.util.Locale $1)
Updates the active locale for this provider, triggering cache invalidation
for any resolved fallback chains if the locale has changed.
|
java.lang.String |
toString() |
public SimpleL10nCurrentLocaleProvider(java.util.Locale _locale)
public java.util.List<java.lang.String> getLanguageFallbackChain()
L10nFallbackProviderIgetLanguageFallbackChain in interface L10nFallbackProviderIpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Locale getLocale()
L10nCurrentLocaleProviderIgetLocale in interface L10nCurrentLocaleProviderILocale, or null if uninitializedpublic void setLocale(java.util.Locale $1)
L10nFallbackProviderIsetLocale in interface L10nFallbackProviderI$1 - the new session locale; must not be nullCopyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.