public interface TextSupport extends ConfigurationAware
Modifier and Type | Method and Description |
---|---|
default void |
appendEscapedHtml(String input,
Appendable appendable)
Escape the input and append the result to the given appendable.
|
String |
escapeHtml(String input)
Interpolated values should be HTML-escaped, if appropriate.
|
getConfigurationKeys, init
String escapeHtml(String input)
Clients are encouraged to use
appendEscapedHtml(String, Appendable)
instead (this method
might be optimized to consume less resources).
input
- appendEscapedHtml(String, Appendable)
default void appendEscapedHtml(String input, Appendable appendable) throws IOException
input
- appendable
- IOException
Copyright © 2017. All rights reserved.