|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebay.carad.os.vitalsigns.util.MessageFormatUtil
public abstract class MessageFormatUtil
Provides basic MessageFormat utility methods.
| Constructor Summary | |
|---|---|
MessageFormatUtil()
|
|
| Method Summary | |
|---|---|
private static java.lang.String |
escapeSingleQuotes(java.lang.String inStr)
Escape single-quotes for MessageFormat. |
static java.lang.String |
format(java.lang.String inStr,
java.lang.Object[] params)
Reformats the passed-in message format-ready string with the passed-in parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageFormatUtil()
| Method Detail |
|---|
private static java.lang.String escapeSingleQuotes(java.lang.String inStr)
inStr - the string to escape
public static java.lang.String format(java.lang.String inStr,
java.lang.Object[] params)
inStr - the string to formatparams - the parameters to substitute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||