mondrian.gui.validate.impl
Class WorkbenchMessages

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

public class WorkbenchMessages
extends java.lang.Object
implements Messages

Implementation of Messages for Workbench.

Author:
mlowery

Constructor Summary
WorkbenchMessages(I18n i18n)
          Creates a WorkbenchMessages.
 
Method Summary
 java.lang.String getFormattedString(java.lang.String stringId, java.lang.String defaultValue, java.lang.Object... args)
          Returns the string with given key with substitutions.
 java.lang.String getString(java.lang.String stringID, java.lang.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)
Creates a WorkbenchMessages.

Parameters:
i18n - Resources
Method Detail

getFormattedString

public java.lang.String getFormattedString(java.lang.String stringId,
                                           java.lang.String defaultValue,
                                           java.lang.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 java.lang.String getString(java.lang.String stringID,
                                  java.lang.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

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads