Class HtmlUtils

java.lang.Object
io.meeds.social.html.utils.HtmlUtils

public class HtmlUtils extends Object
  • Method Details

    • process

      public static String process(String html, io.meeds.social.html.model.HtmlProcessorContext context)
      Process the HTML input into content before storing in database
      Parameters:
      html - HTML input
      context - HTML processor context of type HtmlProcessorContext
      Returns:
      processed HTML output
    • transform

      public static String transform(String html, io.meeds.social.html.model.HtmlTransformerContext context)
      Transforms the HTML input into content ready to display
      Parameters:
      html - HTML input
      context - HTML transformation context of type HtmlTransformerContext
      Returns:
      transformed HTML output