public abstract class Messages extends Object
The static method Messages.msgLoad may be used to merge additional message text .properties files needed by other frameworks or user programs.
msgLoad(java.lang.String)
Constructor and Description |
---|
Messages() |
Modifier and Type | Method and Description |
---|---|
static String |
msg(String msgkey)
Returns the message text corresponding to the passed msgkey
string.
|
static String |
msg(String msgkey,
int parm)
Returns the message text corresponding to the passed msgkey
string.
|
static String |
msg(String msgkey,
int parm1,
int parm2)
Returns the message text corresponding to the passed msgkey
string.
|
static String |
msg(String msgkey,
int parm1,
String parm2)
Returns the message text corresponding to the passed msgkey
string.
|
static String |
msg(String msgkey,
String parm)
Returns the message text corresponding to the passed msgkey
string.
|
static String |
msg(String msgkey,
String parm1,
int parm2)
Returns the message text corresponding to the passed msgkey
string.
|
static String |
msg(String msgkey,
String parm1,
String parm2)
Returns the message text corresponding to the passed msgkey
string.
|
static String |
msg(String msgkey,
String parm1,
String parm2,
String parm3)
Returns the message text corresponding to the passed msgkey
string.
|
static void |
msgLoad(String propertyFileName)
Loads additional message keys and text found in the passed
properties file.
|
public static final void msgLoad(String propertyFileName) throws IOException
IOException
public static final String msg(String msgkey)
public static final String msg(String msgkey, String parm)
If the msgkey cannot be found, its value is used as the message text.
public static final String msg(String msgkey, int parm)
If the msgkey cannot be found, its value is used as the message text.
public static final String msg(String msgkey, String parm1, String parm2)
If the msgkey cannot be found, its value is used as the message text.
public static final String msg(String msgkey, int parm1, String parm2)
If the msgkey cannot be found, its value is used as the message text.
public static final String msg(String msgkey, String parm1, int parm2)
If the msgkey cannot be found, its value is used as the message text.
public static final String msg(String msgkey, int parm1, int parm2)
If the msgkey cannot be found, its value is used as the message text.
public static final String msg(String msgkey, String parm1, String parm2, String parm3)
If the msgkey cannot be found, its value is used as the message text.
Copyright © 2020 JBoss by Red Hat. All rights reserved.