Class MessageUtils
java.lang.Object
com.echothree.util.server.message.MessageUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Escape any single quote characters that are included in the specified message string.protected void
fillInMessage
(CoreControl coreControl, Language language, CommandMessageType commandMessageType, Message message) Returns a text message after parametric replacement of the specified parameter placeholders.void
fillInMessages
(Language language, String commandMessageTypeName, Messages messages) getExceptionMessage
(String commandMessageTypeName, Message message) static MessageUtils
-
Constructor Details
-
MessageUtils
protected MessageUtils()
-
-
Method Details
-
getInstance
-
escape
Escape any single quote characters that are included in the specified message string.- Parameters:
string
- The string to be escaped
-
fillInMessage
protected void fillInMessage(CoreControl coreControl, Language language, CommandMessageType commandMessageType, Message message) Returns a text message after parametric replacement of the specified parameter placeholders. A null string result will be returned by this method if no resource bundle has been configured. -
fillInMessages
-
getExceptionMessage
-