|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.engines.talend.utils.EngineMessageBundle
public class EngineMessageBundle
Constructor Summary | |
---|---|
EngineMessageBundle()
|
Method Summary | |
---|---|
static java.lang.String |
getMessage(java.lang.String code,
java.util.Locale userLocale)
Gets the message. |
static java.lang.String |
getMessage(java.lang.String code,
java.util.Locale userLocale,
java.lang.String[] arguments)
Gets the message. |
static java.lang.String |
getMessage(java.lang.String code,
java.lang.String bundle,
java.util.Locale userLocale)
Returns an internazionalized message. |
static java.lang.String |
getMessage(java.lang.String code,
java.lang.String bundle,
java.util.Locale userLocale,
java.lang.String[] arguments)
Gets the message. |
protected static java.lang.String |
replace(java.lang.String messageFormat,
int iParameter,
java.lang.Object value)
Substitutes the message value to the placeholders. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EngineMessageBundle()
Method Detail |
---|
public static java.lang.String getMessage(java.lang.String code, java.lang.String bundle, java.util.Locale userLocale)
code
- the code of the message.bundle
- the message bundle.userLocale
- the user locale
public static java.lang.String getMessage(java.lang.String code, java.util.Locale userLocale)
code
- the codeuserLocale
- the user locale
public static java.lang.String getMessage(java.lang.String code, java.lang.String bundle, java.util.Locale userLocale, java.lang.String[] arguments)
code
- the codebundle
- the bundleuserLocale
- the user localearguments
- the arguments
public static java.lang.String getMessage(java.lang.String code, java.util.Locale userLocale, java.lang.String[] arguments)
code
- the codeuserLocale
- the user localearguments
- the arguments
protected static java.lang.String replace(java.lang.String messageFormat, int iParameter, java.lang.Object value)
messageFormat
- The String representing the message formatiParameter
- The numeric value defining the replacing stringvalue
- Input object containing parsing information
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |