|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object util.ui.html.HTMLTextHelper
public class HTMLTextHelper
This is a Helper-Class for converting Text to HMTL
Constructor Summary | |
---|---|
HTMLTextHelper()
|
Method Summary | |
---|---|
static java.lang.String |
convertHtmlToText(java.lang.String html)
Replaces HTML German umlauts and the HTML formatting tags with a Java String. |
static java.lang.String |
convertTextToHtml(java.lang.String text)
Convert Text to HTML. > and < will be converted to > and < \n will be <br>
Links in the text will be made clickable. |
static java.lang.String |
convertTextToHtml(java.lang.String text,
boolean createLinks)
Convert Text to HTML. > and < will be converted to > and < \n will be <br>
If createLinks is true, it will try to find links and make them clickable |
static java.lang.String |
getCssRgbColorEntry(java.awt.Color c)
Creates a rgb color entry for css format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLTextHelper()
Method Detail |
---|
public static java.lang.String convertTextToHtml(java.lang.String text)
<br>
Links in the text will be made clickable.
text
- text to display
public static java.lang.String convertTextToHtml(java.lang.String text, boolean createLinks)
<br>
If createLinks is true, it will try to find links and make them clickable
text
- text to displaycreateLinks
- if true, it will create links
public static java.lang.String convertHtmlToText(java.lang.String html)
html
- The HTML text to replace.
public static java.lang.String getCssRgbColorEntry(java.awt.Color c)
c
- The color to get the css entry for
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |