Java HTML to Text html2text(String html)

Here you can find the source of html2text(String html)

Description

htmltext

License

Apache License

Declaration

public static String html2text(String html) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import org.jsoup.Jsoup;

public class Main {
    public static String html2text(String html) {
        return Jsoup.parse(html).text();
    }/*from   ww  w.ja  va  2s.  c  o m*/
}

Related

  1. html2text(final String html)
  2. html2text(String htmlStr)
  3. text(Element e)
  4. text(Element element)
  5. textOf(final Element el)