Class StringEscapeUtils.Builder
java.lang.Object
com.espertech.esper.common.internal.util.apachecommonstext.StringEscapeUtils.Builder
- Enclosing class:
- StringEscapeUtils
Convenience wrapper for StringBuilder
providing escape methods.
Example:
new Builder(ESCAPE_HTML4) .append("<p>") .escape("This is paragraph 1 and special chars like & get escaped.") .append("</p><p>") .escape("This is paragraph 2 & more...") .append("</p>") .toString()
-
Method Summary
Modifier and TypeMethodDescriptionLiteral append, no escaping being done.toString()
Return the escaped string.