Package com.atlassian.bamboo.utils.i18n
Interface I18nBean
-
- All Superinterfaces:
com.atlassian.core.i18n.I18nTextProvider
- All Known Implementing Classes:
DefaultI18nBean
public interface I18nBean extends com.atlassian.core.i18n.I18nTextProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Map<String,String>
getAllTranslationsForPrefix(@NotNull String prefix)
ResourceBundle
getDefaultResourceBundle()
ResourceBundle
getHelpPathsBundle()
@Nullable String
getI18nRawText(String key)
Locale
getLocale()
@Nullable String
getRawText(Locale locale, String key)
@NotNull String
getText(String key, String defaultValue)
@NotNull String
getText(String key, String defaultValue, Object[] args)
@NotNull String
getText(String key, String defaultValue, String arg)
@NotNull String
getText(String key, String defaultValue, List args)
@NotNull String
getText(String key, List args)
boolean
hasKey(String key)
-
-
-
Method Detail
-
hasKey
boolean hasKey(String key)
-
getLocale
Locale getLocale()
-
getAllTranslationsForPrefix
@NotNull @NotNull Map<String,String> getAllTranslationsForPrefix(@NotNull @NotNull String prefix)
-
getDefaultResourceBundle
ResourceBundle getDefaultResourceBundle()
-
getHelpPathsBundle
ResourceBundle getHelpPathsBundle()
-
-