Class DesktopMessages
- java.lang.Object
-
- org.silverpeas.web.portlets.portal.DesktopMessages
-
public class DesktopMessages extends Object
DesktopMessages is used to get the localized messages from DesktopMessages.properties
-
-
Constructor Summary
Constructors Constructor Description DesktopMessages()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getLocalizedString(String key)
static String
getLocalizedString(String key, Object[] tokens)
static DesktopMessages
init(String language)
This method has to be called at each HTTP Request performed related to portlet management.
-
-
-
Method Detail
-
init
public static DesktopMessages init(String language)
This method has to be called at each HTTP Request performed related to portlet management.- Parameters:
language
- the language of the user. If no one is passed, default platform language is taken.- Returns:
- a
DesktopMessages
instance.
-
-