public final class MessageReplacer
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static IMessageReplacer |
getInstance() |
static java.lang.String |
replace(IMessage message,
java.lang.String... parameter)
Replaces all variables (%1, ..., %n) with the given string parameters
|
static java.lang.String |
replace(java.lang.String message,
java.util.Collection<java.lang.String> parameter)
Replaces all variables (%1, ..., %n) with the given string parameters
|
static java.lang.String |
replace(java.lang.String message,
java.lang.String... parameter)
Replaces all variables (%1, ..., %n) with the given string parameters
|
public static IMessageReplacer getInstance()
public static java.lang.String replace(IMessage message, java.lang.String... parameter)
message
- The message that contains variablesparameter
- The parameters to insertpublic static java.lang.String replace(java.lang.String message, java.lang.String... parameter)
message
- The message that contains variablesparameter
- The parameters to insertpublic static java.lang.String replace(java.lang.String message, java.util.Collection<java.lang.String> parameter)
message
- The message that contains variablesparameter
- The parameters to insertSiehe auch Jowidgets Nutzerhandbuch