Class RichTextImporter
java.lang.Object
com.codename1.ui.editor.RichTextImporter
Converts supported rich-text interchange formats into the HTML fragment consumed by the shared
HtmlImporter. Keeping one HTML-to-model mapping avoids separate style/block implementations for
RTF, Markdown and AsciiDoc.-
Method Summary
Modifier and TypeMethodDescriptionstatic StringtoHtml(String content, RichTextFormat format) Converts content to an HTML fragment.
-
Method Details
-
toHtml
Converts content to an HTML fragment. HTML input is returned unchanged and plain text is escaped.
-