public final class Rtf2HtmlConverter
extends java.lang.Object
Rtf2HtmlConverter
- Converts RTF to HTML based on javax.swing.text.*
package.Modifier and Type | Method and Description |
---|---|
static java.lang.String |
convertRTFStringToHTML(java.lang.String rtfString)
Converts a single RTF string to HTML without wrapping returned converted HTML body inside a HTML document.
|
static java.lang.String |
convertRTFToHTML(java.lang.String rtfContent)
Triggers the rtf2html conversion
|
public static java.lang.String convertRTFToHTML(java.lang.String rtfContent)
rtfContent
- The RTF contentpublic static java.lang.String convertRTFStringToHTML(java.lang.String rtfString)
rtfString
- The RTF string