Package com.atlassian.bamboo.utils.i18n
Class DefaultI18nBean
java.lang.Object
com.atlassian.bamboo.utils.i18n.DefaultI18nBean
- All Implemented Interfaces:
I18nBean,com.atlassian.core.i18n.I18nTextProvider,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultI18nBean(@NotNull Locale locale, @NotNull com.atlassian.plugin.PluginAccessor pluginAccessor) -
Method Summary
Modifier and TypeMethodDescriptiongetAllTranslationsForPrefix(@NotNull String prefix) getI18nRawText(String key) com.atlassian.plugin.PluginAccessorgetRawText(Locale locale, String key) @NotNull String@NotNull String@NotNull String@NotNull String@NotNull String@NotNull String@NotNull Stringboolean
-
Constructor Details
-
DefaultI18nBean
public DefaultI18nBean(@NotNull @NotNull Locale locale, @NotNull @NotNull com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
Method Details
-
hasKey
-
getText
- Specified by:
getTextin interfacecom.atlassian.core.i18n.I18nTextProvider
-
getLocale
-
getText
-
getI18nRawText
- Specified by:
getI18nRawTextin interfaceI18nBean
-
getRawText
- Specified by:
getRawTextin interfaceI18nBean
-
getText
-
getText
-
getText
- Specified by:
getTextin interfacecom.atlassian.core.i18n.I18nTextProvider
-
getText
-
getText
-
getAllTranslationsForPrefix
@NotNull public @NotNull Map<String,String> getAllTranslationsForPrefix(@NotNull @NotNull String prefix) - Specified by:
getAllTranslationsForPrefixin interfaceI18nBean
-
getDefaultResourceBundle
- Specified by:
getDefaultResourceBundlein interfaceI18nBean
-
getHelpPathsBundle
- Specified by:
getHelpPathsBundlein interfaceI18nBean
-
getI18nBundles
-
getPluginAccessor
public com.atlassian.plugin.PluginAccessor getPluginAccessor()
-