|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.firstpartners.rp.common.util.MessageUtil
public class MessageUtil
Class responsable to handle the messages from property files
Constructor Summary | |
---|---|
MessageUtil()
|
Method Summary | |
---|---|
static java.lang.String |
getMessage(java.lang.String code)
Get the messages using the standard property file, using the code and no list of values |
static java.lang.String |
getMessage(java.lang.String code,
java.lang.Object[] values)
Get the messages using the standard property file, using the code and list of values |
static java.lang.String |
getMessage(java.lang.String basename,
java.lang.String code,
java.lang.Object[] values)
Get the messages from the specified property file, using the code and list of values |
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 java.lang.String getMessage(java.lang.String basename, java.lang.String code, java.lang.Object[] values)
basename
- The base message property filecode
- The message codevalues
- The list of the values parameters for the messages
public static java.lang.String getMessage(java.lang.String code, java.lang.Object[] values)
code
- The message codevalues
- The list of the values parameters for the messages
public static java.lang.String getMessage(java.lang.String code)
code
- The message code
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |