Package mondrian.gui.validate.impl
Class WorkbenchMessages
- java.lang.Object
-
- mondrian.gui.validate.impl.WorkbenchMessages
-
-
Constructor Summary
Constructors Constructor Description WorkbenchMessages(I18n i18n)Creates a WorkbenchMessages.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormattedString(String stringId, String defaultValue, Object... args)Returns the string with given key with substitutions.StringgetString(String stringID, String defaultValue)Returns the string with given key.
-
-
-
Constructor Detail
-
WorkbenchMessages
public WorkbenchMessages(I18n i18n)
Creates a WorkbenchMessages.- Parameters:
i18n- Resources
-
-
Method Detail
-
getFormattedString
public String getFormattedString(String stringId, String defaultValue, Object... args)
Description copied from interface:MessagesReturns the string with given key with substitutions.- Specified by:
getFormattedStringin interfaceMessages- Parameters:
stringId- KeydefaultValue- default if key does not existargs- arguments to substitute- Returns:
- message
-
-