mondrian.gui.validate.impl
Class WorkbenchMessages
java.lang.Object
mondrian.gui.validate.impl.WorkbenchMessages
- All Implemented Interfaces:
- Messages
public class WorkbenchMessages
- extends Object
- implements Messages
Implementation of Messages
for Workbench.
- Author:
- mlowery
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkbenchMessages
public WorkbenchMessages(I18n i18n)
getFormattedString
public String getFormattedString(String stringID,
String defaultValue,
Object[] args)
- Description copied from interface:
Messages
- Returns the string with given key with substitutions.
- Specified by:
getFormattedString
in interface Messages
- Parameters:
stringID
- keydefaultValue
- default if key does not existargs
- arguments to substitute
- Returns:
- message
getString
public String getString(String stringID,
String defaultValue)
- Description copied from interface:
Messages
- Returns the string with given key.
- Specified by:
getString
in interface Messages
- Parameters:
stringID
- keydefaultValue
- default if key does not exist
- Returns:
- message