Package org.apache.nifi.util
Class EscapeUtils
java.lang.Object
org.apache.nifi.util.EscapeUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
escapeHtml
(String html) Escapes the specified html by replacing &, <, >, ", ', / with their corresponding html entity.
-
Constructor Details
-
EscapeUtils
public EscapeUtils()
-
-
Method Details
-
escapeHtml
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
-