Class MessageUtil

java.lang.Object
com.symphony.bdk.core.service.message.util.MessageUtil

@API(status=EXPERIMENTAL) public final class MessageUtil extends Object
Helper class for pre-processing an outgoing message
  • Constructor Details

    • MessageUtil

      public MessageUtil()
  • Method Details

    • escapeSpecialChars

      public static String escapeSpecialChars(String rawText)
      This method takes care of all special characters placed within the messageML that must be HTML-escaped to have a valid MessageML format.
      Parameters:
      rawText - text to be parsed
      Returns:
      text in a valid messageML format