Skip navigation links

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.

See: Description

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

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);
Skip navigation links

"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"