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
DefaultLocaleResolver
resolves 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-Language
header. - DefaultLocaleResolver() - Constructor for class org.apache.sling.i18n.DefaultLocaleResolver
G
- getDefaultLocale() - Method in interface org.apache.sling.i18n.ResourceBundleProvider
-
Returns the default
Locale
assumed by this instance. - getResourceBundle(String, Locale) - Method in interface org.apache.sling.i18n.ResourceBundleProvider
-
Returns a
ResourceBundle
for the given locale. - getResourceBundle(Locale) - Method in interface org.apache.sling.i18n.ResourceBundleProvider
-
Returns a
ResourceBundle
for the given locale.
L
- LocaleResolver - Interface in org.apache.sling.i18n
-
Deprecated.The
RequestLocaleResolver
should be used instead.
O
- org.apache.sling.i18n - package org.apache.sling.i18n
R
- RequestLocaleResolver - Interface in org.apache.sling.i18n
-
The
RequestLocaleResolver
service interface may be implemented by a service registered under this name to allow the resolution of the requestLocale
to apply. - resolveLocale(HttpServletRequest) - Method in class org.apache.sling.i18n.DefaultLocaleResolver
- resolveLocale(HttpServletRequest) - Method in interface org.apache.sling.i18n.RequestLocaleResolver
-
Return a non-
null
but possibly empty list ofLocale
instances 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-
null
but possiby empty list ofLocale
instances to consider for localization of the current request. - ResourceBundleProvider - Interface in org.apache.sling.i18n
-
The
ResourceBundleProvider
service interface defines the API for a service, which is capable of returnedResourceBundle
for given anyLocale
.
All Classes All Packages