Class HtmlEncoderUtil
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.richtext.html.HtmlEncoderUtil
-
public final class HtmlEncoderUtil extends Object
Utility methods to support HTML style encodings like the UTF and CSS encodings.- Author:
- Thomas Morgner
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
encodeCSS(String s)
Encode a string to the encoded form as defined in the CSS standard.static String
encodeCSS(String s, StringBuffer sbuf)
-
-
-
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
-
encodeCSS
public static String encodeCSS(String s, StringBuffer sbuf)
-
-