Package org.pentaho.platform.web.http
Class MessageFormatUtils
java.lang.Object
org.pentaho.platform.web.http.MessageFormatUtils
A helper class for the web module
encapsulating web-related checks as to pass it then to the core
IMessageFormatter
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
formatFailureMessage
(String mimeType, org.pentaho.platform.api.engine.IRuntimeContext context, StringBuffer messageBuffer, List defaultMessages) static void
formatSuccessMessage
(String mimeType, org.pentaho.platform.api.engine.IRuntimeContext context, StringBuffer messageBuffer, boolean doMessages) static void
formatSuccessMessage
(String mimeType, org.pentaho.platform.api.engine.IRuntimeContext context, StringBuffer messageBuffer, boolean doMessages, boolean doWrapper)
-
Constructor Details
-
MessageFormatUtils
public MessageFormatUtils()
-
-
Method Details
-
formatFailureMessage
public static void formatFailureMessage(String mimeType, org.pentaho.platform.api.engine.IRuntimeContext context, StringBuffer messageBuffer, List defaultMessages) -
formatSuccessMessage
public static void formatSuccessMessage(String mimeType, org.pentaho.platform.api.engine.IRuntimeContext context, StringBuffer messageBuffer, boolean doMessages, boolean doWrapper) -
formatSuccessMessage
public static void formatSuccessMessage(String mimeType, org.pentaho.platform.api.engine.IRuntimeContext context, StringBuffer messageBuffer, boolean doMessages)
-