Class RichTextContentService


  • public class RichTextContentService
    extends java.lang.Object
    Service pour gérer le contenu de texte enrichi.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getContent​(java.lang.String content)
      Récupère le contenu en fonction de son type (Markdown, BBCode ou texte brut).
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RichTextContentService

        public RichTextContentService()
    • Method Detail

      • getContent

        public static java.lang.String getContent​(java.lang.String content)
                                           throws RichTextParsingException
        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