Class HtmlToPlainTextConverter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String convert​(java.lang.String text)  
      private java.lang.String getPlainText​(org.jsoup.nodes.Element element)
      Format an Element to plain-text
      • Methods inherited from class java.lang.Object

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

      • HtmlToPlainTextConverter

        public HtmlToPlainTextConverter()
    • Method Detail

      • convert

        public java.lang.String convert​(java.lang.String text)
        Specified by:
        convert in interface Converter
      • getPlainText

        private java.lang.String getPlainText​(org.jsoup.nodes.Element element)
        Format an Element to plain-text
        Parameters:
        element - the root element to format
        Returns:
        formatted text