B D G L O R
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- BUNDLE_REQ_ATTR - Static variable in interface org.apache.sling.i18n.ResourceBundleProvider
-
Request attribute to get the resource bundle.
D
- DefaultLocaleResolver - Class in org.apache.sling.i18n
-
The
DefaultLocaleResolverresolves the request's Locale by calling theServletRequest.getLocales()method, which generally will be the Servlet Container's implementation of this method and thus be based on the client'sAccept-Languageheader. - DefaultLocaleResolver() - Constructor for class org.apache.sling.i18n.DefaultLocaleResolver
G
- getDefaultLocale() - Method in interface org.apache.sling.i18n.ResourceBundleProvider
-
Returns the default
Localeassumed by this instance. - getResourceBundle(String, Locale) - Method in interface org.apache.sling.i18n.ResourceBundleProvider
-
Returns a
ResourceBundlefor the given locale. - getResourceBundle(Locale) - Method in interface org.apache.sling.i18n.ResourceBundleProvider
-
Returns a
ResourceBundlefor the given locale.
L
- LocaleResolver - Interface in org.apache.sling.i18n
-
Deprecated.The
RequestLocaleResolvershould be used instead.
O
- org.apache.sling.i18n - package org.apache.sling.i18n
R
- RequestLocaleResolver - Interface in org.apache.sling.i18n
-
The
RequestLocaleResolverservice interface may be implemented by a service registered under this name to allow the resolution of the requestLocaleto apply. - resolveLocale(HttpServletRequest) - Method in class org.apache.sling.i18n.DefaultLocaleResolver
- resolveLocale(HttpServletRequest) - Method in interface org.apache.sling.i18n.RequestLocaleResolver
-
Return a non-
nullbut possibly empty list ofLocaleinstances to consider for localization of the current request. - resolveLocale(SlingHttpServletRequest) - Method in class org.apache.sling.i18n.DefaultLocaleResolver
-
Return the Locales provided by the
ServletRequest.getLocales()method collected in aList. - resolveLocale(SlingHttpServletRequest) - Method in interface org.apache.sling.i18n.LocaleResolver
-
Deprecated.Return a non-
nullbut possiby empty list ofLocaleinstances to consider for localization of the current request. - ResourceBundleProvider - Interface in org.apache.sling.i18n
-
The
ResourceBundleProviderservice interface defines the API for a service, which is capable of returnedResourceBundlefor given anyLocale.
All Classes All Packages