Class RichTextContentService
java.lang.Object
fr.paris.lutece.portal.service.editor.RichTextContentService
Service pour gérer le contenu de texte enrichi.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetContent(String content) Récupère le contenu en fonction de son type (Markdown, BBCode ou texte brut).
-
Constructor Details
-
RichTextContentService
public RichTextContentService()
-
-
Method Details
-
getContent
Récupère le contenu en fonction de son type (Markdown, BBCode ou texte brut).- Parameters:
content- Le contenu à traiter.- Returns:
- Le contenu converti en HTML si nécessaire, ou le contenu original.
- Throws:
RichTextParsingException
-