|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.gui.validate.impl.WorkbenchMessages
public class WorkbenchMessages
Implementation of Messages
for Workbench.
Constructor Summary | |
---|---|
WorkbenchMessages(I18n i18n)
Creates a WorkbenchMessages. |
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 |
---|
public WorkbenchMessages(I18n i18n)
i18n
- ResourcesMethod Detail |
---|
public String getFormattedString(String stringId, String defaultValue, Object... args)
Messages
getFormattedString
in interface Messages
stringId
- KeydefaultValue
- default if key does not existargs
- arguments to substitute
public String getString(String stringID, String defaultValue)
Messages
getString
in interface Messages
stringID
- keydefaultValue
- default if key does not exist
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |