Package com.codebarrel.i18n
Interface I18nFactory
- All Known Implementing Classes:
JiraI18nFactory
,MockI18nFactory
public interface I18nFactory
Creates and caches an I18nResolver for a given locale.
-
Method Summary
Modifier and TypeMethodDescriptionReturns an I18nResolver for the given locale.
-
Method Details
-
get
Returns an I18nResolver for the given locale. Implementations should cache the resolver per locale.- Parameters:
locale
- The locale of the user- Returns:
- An I18nResolver for the given Locale.
-