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
ConstructorDescriptionDefaultI18nBean
(@NotNull Locale locale, @NotNull com.atlassian.plugin.PluginAccessor pluginAccessor) -
Method Summary
Modifier and TypeMethodDescriptiongetAllTranslationsForPrefix
(@NotNull String prefix) getI18nRawText
(String key) com.atlassian.plugin.PluginAccessor
getRawText
(Locale locale, String key) @NotNull String
@NotNull String
@NotNull String
@NotNull String
@NotNull String
@NotNull String
@NotNull String
boolean
-
Constructor Details
-
DefaultI18nBean
public DefaultI18nBean(@NotNull @NotNull Locale locale, @NotNull @NotNull com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
Method Details
-
hasKey
-
getText
- Specified by:
getText
in interfacecom.atlassian.core.i18n.I18nTextProvider
-
getLocale
-
getText
-
getI18nRawText
- Specified by:
getI18nRawText
in interfaceI18nBean
-
getRawText
- Specified by:
getRawText
in interfaceI18nBean
-
getText
-
getText
-
getText
- Specified by:
getText
in interfacecom.atlassian.core.i18n.I18nTextProvider
-
getText
-
getText
-
getAllTranslationsForPrefix
@NotNull public @NotNull Map<String,String> getAllTranslationsForPrefix(@NotNull @NotNull String prefix) - Specified by:
getAllTranslationsForPrefix
in interfaceI18nBean
-
getDefaultResourceBundle
- Specified by:
getDefaultResourceBundle
in interfaceI18nBean
-
getHelpPathsBundle
- Specified by:
getHelpPathsBundle
in interfaceI18nBean
-
getI18nBundles
-
getPluginAccessor
public com.atlassian.plugin.PluginAccessor getPluginAccessor()
-