Class HtmlToPlainTextFormatter


  • public class HtmlToPlainTextFormatter
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • HtmlToPlainTextFormatter

        public HtmlToPlainTextFormatter()
    • Method Detail

      • getPlainText

        public 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