|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.el.MessageUtil
public class MessageUtil
Utility class for generating parameterized messages.
Constructor Summary | |
---|---|
MessageUtil()
|
Method Summary | |
---|---|
static String |
getMessageWithArgs(String pTemplate,
Object pArg0)
Returns a formatted message based on the provided template and a single parameter. |
static String |
getMessageWithArgs(String pTemplate,
Object pArg0,
Object pArg1)
Returns a formatted message based on the provided template and provided parameter. |
static String |
getMessageWithArgs(String pTemplate,
Object pArg0,
Object pArg1,
Object pArg2)
Returns a formatted message based on the provided template and provided parameter. |
static String |
getMessageWithArgs(String pTemplate,
Object pArg0,
Object pArg1,
Object pArg2,
Object pArg3)
Returns a formatted message based on the provided template and provided parameter. |
static String |
getMessageWithArgs(String pTemplate,
Object pArg0,
Object pArg1,
Object pArg2,
Object pArg3,
Object pArg4)
Returns a formatted message based on the provided template and provided parameter. |
static String |
getMessageWithArgs(String pTemplate,
Object pArg0,
Object pArg1,
Object pArg2,
Object pArg3,
Object pArg4,
Object pArg5)
Returns a formatted message based on the provided template and provided parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageUtil()
Method Detail |
---|
public static String getMessageWithArgs(String pTemplate, Object pArg0)
Returns a formatted message based on the provided template and a single parameter.
pTemplate
- the base messagepArg0
- parameter
public static String getMessageWithArgs(String pTemplate, Object pArg0, Object pArg1)
Returns a formatted message based on the provided template and provided parameter.
pTemplate
- the base messagepArg0
- parameter 1pArg1
- parameter 2
public static String getMessageWithArgs(String pTemplate, Object pArg0, Object pArg1, Object pArg2)
Returns a formatted message based on the provided template and provided parameter.
pTemplate
- the base messagepArg0
- parameter 1pArg1
- parameter 2pArg2
- parameter 3
public static String getMessageWithArgs(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3)
Returns a formatted message based on the provided template and provided parameter.
pTemplate
- the base messagepArg0
- parameter 1pArg1
- parameter 2pArg2
- parameter 3pArg3
- parameter 4
public static String getMessageWithArgs(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4)
Returns a formatted message based on the provided template and provided parameter.
pTemplate
- the base messagepArg0
- parameter 1pArg1
- parameter 2pArg2
- parameter 3pArg3
- parameter 4pArg4
- parameter 5
public static String getMessageWithArgs(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4, Object pArg5)
Returns a formatted message based on the provided template and provided parameter.
pTemplate
- the base messagepArg0
- parameter 1pArg1
- parameter 2pArg2
- parameter 3pArg3
- parameter 4pArg4
- parameter 5pArg5
- parameter 6
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |