@Version("1.0.0")

Package com.adobe.cq.dam.cfm.converter

Provides an extensible framework for converting text formats (like plain text, Markdown) into an HTML representation that can be used within an AEM page.

It also provides means to convert a text from one format into another format. For this, the text has to be converted to HTML in the first place, then into the target format.

Basic usage:

To convert a text of a certain MIME type to HTML, use ContentTypeConverter.convertToHTML(java.lang.String, java.lang.String).

To convert a text of MIME type A to MIME type B, use something like:

String html = typeConverter.convertToHTML(textA, typeA);
String textB = typeConverter.convertToType(html, typeB);