Class HtmlEscaper


  • public class HtmlEscaper
    extends java.lang.Object
    Escapes user data that you wish to include in HTML pages.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static char[][] ESC  
    • Constructor Summary

      Constructors 
      Constructor Description
      HtmlEscaper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void escape​(java.lang.String value, java.io.Writer writer)  
      • Methods inherited from class java.lang.Object

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

      • ESC

        private static char[][] ESC
    • Constructor Detail

      • HtmlEscaper

        public HtmlEscaper()
    • Method Detail

      • escape

        public static void escape​(java.lang.String value,
                                  java.io.Writer writer)