mondrian.gui.validate.impl
Class WorkbenchMessages

java.lang.Object
  extended by mondrian.gui.validate.impl.WorkbenchMessages
All Implemented Interfaces:
Messages

public class WorkbenchMessages
extends Object
implements Messages

Implementation of Messages for Workbench.

Author:
mlowery
 

Constructor Summary
WorkbenchMessages(I18n i18n)
           
 
Method Summary
 String getFormattedString(String stringID, String defaultValue, Object[] args)
          Returns the string with given key with substitutions.
 String getString(String stringID, String defaultValue)
          Returns the string with given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkbenchMessages

public WorkbenchMessages(I18n i18n)
Method Detail

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 - key
defaultValue - default if key does not exist
args - 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 - key
defaultValue - default if key does not exist
Returns:
message

SourceForge.net_Logo