Class HtmlEncoderUtil


  • public final class HtmlEncoderUtil
    extends Object
    Utility methods to support HTML style encodings like the UTF and CSS encodings.
    Author:
    Thomas Morgner
    • Method Detail

      • encodeCSS

        public static String encodeCSS​(String s)
        Encode a string to the encoded form as defined in the CSS standard.
        Parameters:
        s - The string to be encoded
        Returns:
        The encoded string