- All Superinterfaces:
An Escaper is an
Appenderused to escape content such as HTML. A
Formatteris usually what will call the Escaper and like a formatter should be singleton like and expect reuse.
- See Also:
applydefault String apply
(String t) throws UncheckedIOException
- Specified by:
t- String to ge escaped.
- escaped content
UncheckedIOException- if the appender or appendable throw an
ofAdapts a function to an Escaper. If the function is already an Escaper then it is simply returned (noop). Thus it is safe to repeatedly call this on Escaper. If the function is adapted the returned adapted Escaper does not pass native types to the inputted function.
escapeFunction- returned if it is already an escaper
- adapted Escaper