Class HTMLEntityEncoder


  • public class HTMLEntityEncoder
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String htmlEntityEncode​(java.lang.String value)
      A helper method for HTML entity-encoding a String value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HTMLEntityEncoder

        public HTMLEntityEncoder()
    • Method Detail

      • htmlEntityEncode

        public static java.lang.String htmlEntityEncode​(java.lang.String value)
        A helper method for HTML entity-encoding a String value.
        Parameters:
        value - A String containing HTML control characters.
        Returns:
        An HTML-encoded String.