Class EscapeUtils

java.lang.Object
org.apache.nifi.util.EscapeUtils

public class EscapeUtils extends Object
  • Constructor Details

    • EscapeUtils

      public EscapeUtils()
  • Method Details

    • escapeHtml

      public static String escapeHtml(String html)
      Escapes the specified html by replacing &, <, >, ", ', / with their corresponding html entity. If html is null, null is returned.
      Parameters:
      html - to escape
      Returns:
      escaped html