|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.reporting.engine.classic.core.modules.output.table.html.util.HtmlEncoderUtil
public final class HtmlEncoderUtil
Utility methods to support HTML style encodings like the UTF and CSS encodings.
Method Summary | |
---|---|
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)
|
static void |
encodeCSS(String s,
Writer w)
Deprecated. |
static void |
printText(PrintWriter pout,
String text,
boolean useXHTML)
Deprecated. This method is not used anywhere and therefore it will be removed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String encodeCSS(String s)
s
- The string to be encoded
public static String encodeCSS(String s, StringBuffer sbuf)
public static void encodeCSS(String s, Writer w) throws IOException
s
- The string to be encodedw
- the writer that receives the generated text.
IOException
- if an error occured.public static void printText(PrintWriter pout, String text, boolean useXHTML)
pout
- the target writertext
- the text that should be printed.useXHTML
- true, if XHTML is generated, false otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |