|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TranslationTransform
Implementors of this interface have the opportunity to transform the result of translation lookups made by I18nHelper.getUnescapedText(String)
.
(and hence I18nHelper.getText(String)
and all its derivatives).
Method Summary | |
---|---|
String |
apply(Locale locale,
String key,
String rawMessage)
Given a Locale , i18n key and the rawMessage corresponding to them, apply a transformation
on the message to produce a different translation. |
Method Detail |
---|
String apply(Locale locale, String key, String rawMessage)
Locale
, i18n key and the rawMessage corresponding to them, apply a transformation
on the message to produce a different translation.
locale
- the locale that was used to translate the inputkey
- the key that was requested for translationrawMessage
- the result of the translation lookup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |