On this page
A Class diagram: TextTool
noLineBreak(String text)
This method removes all control characters such as U+0009 (Tab), U+000A (Line Feed), and U+000D (Carriage Return) from a given text. This method also filters text under the category "Cc" in the Unicode specification.
toInteger(String text)
This method converts a string argument to a signed decimal integer.
toDouble(String text)
This method converts a string argument to a signed decimal double.
italic(String text)
This method forces a report to render a given text in the italic style.
bold(String text)
This method forces a report to render a given text in the bold style.
underline(String text)
This method forces a report to render a given text in the underlined style.
html(String text)
This method forces a report to render a given text as HTML.
For more information on supported HTML tags, see Appendix D: HTML Tag Support.
getString(String text)
This methods converts text from RTF to a Java String.
equals(String str1, String str2)
This method compares two strings. The result will be true if and only if str1 represents the same sequence of characters as str2 does. This method supports RTF text comparison.
getPureText(htmlString HTMLString)
This method gets plain text from an HTML documentation. All HTML tags that are applied to the text will be removed from the text. Only plain text would be returned.