Package com.atlassian.confluence.util.i18n
package com.atlassian.confluence.util.i18n
-
ClassDescriptionI18NResource reading resource bundle from the classpathA factory class for creating
ResourceBundle
s by combining otherResourceBundle
s together.Responsible for fetching internationalised text given a key.ProducesI18NBean
s which will return a bean either for the default or setup locale.Constructs a link to the instance's documentationFactory interface for retrieving documentation link beans.A user interface documentation link consisting of a key.Produces the bestI18NBean
s it can at the point it is first called upon.Responsible for fetching internationalised text for a given key.Factory interface for retrieving i18n support beansSimulates the behaviour of ResourceBundle.getBundle() and searches for all bundles for a locale from most specific to least specificDeprecated, for removal: This API element is subject to removal in a future version.since 8.8A user interface message consisting of a message key with optional arguments.Class that: takes a map of resource bundles (keyed by locale) or single resource bundles sorts them by locale combines all bundles keyed by the same locale into one CombinedResourceBundle and returns a list of CombinedResourceBundles in the correct locale order (most specific locales come first.A simple implementation ofResourceBundle
which stores the key-value pairs as a map.I18N bean factory which will return an I18N bean configured for the current user's locale.Beans wishing to have a user locale sensitiveI18NBeanFactory
should implement this interfaceBean post processor responsible for injecting anI18NBeanFactory
for any beans served by spring that implementsUserLocaleAware
.Constructs a version specific link to Confluence's documentation.DocumentationBeanFactory which returns VersionSpecificDocumentationBeans for the Confluence instance.