|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I18n2
New implementation of i18n utilties. Favour this implementation over I18nUtil, I18nImpl, BoardAction.getText and all the other places where i18n is done
Method Summary | |
---|---|
java.util.Locale |
getLocale()
|
java.lang.String |
getText(java.lang.String key)
Get the text for a given key Note: Keep this method as velocity doesn't handle varargs |
java.lang.String |
getText(java.lang.String key,
java.lang.Object... params)
Get the text for a given key. |
java.lang.String |
getText(java.lang.String key,
java.lang.Object parameter)
Get the text for a given key and one parameter Note: Keep this method as velocity doesn't handle varargs |
java.lang.String |
getText(java.lang.String key,
java.lang.Object parameter1,
java.lang.Object parameter2)
Get the text for a given key and two parameters Note: Keep this method as velocity doesn't handle varargs |
java.lang.String |
getText(java.lang.String key,
java.lang.Object parameter1,
java.lang.Object parameter2,
java.lang.Object parameter3)
Get the text for a given key and three parameters Note: Keep this method as velocity doesn't handle varargs |
java.lang.String |
getText(java.lang.String key,
java.lang.Object parameter1,
java.lang.Object parameter2,
java.lang.Object parameter3,
java.lang.Object parameter4)
Get the text for a given key and four parameters Note: Keep this method as velocity doesn't handle varargs |
java.lang.String |
getText(java.lang.String key,
java.lang.Object parameter1,
java.lang.Object parameter2,
java.lang.Object parameter3,
java.lang.Object parameter4,
java.lang.Object parameter5)
Get the text for a given key and five parameters Note: Keep this method as velocity doesn't handle varargs |
Method Detail |
---|
java.util.Locale getLocale()
java.lang.String getText(java.lang.String key)
java.lang.String getText(java.lang.String key, java.lang.Object parameter)
java.lang.String getText(java.lang.String key, java.lang.Object parameter1, java.lang.Object parameter2)
java.lang.String getText(java.lang.String key, java.lang.Object parameter1, java.lang.Object parameter2, java.lang.Object parameter3)
java.lang.String getText(java.lang.String key, java.lang.Object parameter1, java.lang.Object parameter2, java.lang.Object parameter3, java.lang.Object parameter4)
java.lang.String getText(java.lang.String key, java.lang.Object parameter1, java.lang.Object parameter2, java.lang.Object parameter3, java.lang.Object parameter4, java.lang.Object parameter5)
java.lang.String getText(java.lang.String key, java.lang.Object... params)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |