Java HTML Jsoup Document getHtmlDocument(String url)

Here you can find the source of getHtmlDocument(String url)

Description

get Html Document

License

Apache License

Declaration

public static Document getHtmlDocument(String url) throws Exception 

Method Source Code


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

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

public class Main {
    public static Document getHtmlDocument(String url) throws Exception {
        Document doc = Jsoup.connect(url).get();
        return doc;
    }//ww w . j a v a  2 s . c  om
}

Related

  1. getContainersForLink(Document document, String link)
  2. getDivForClass(Document document, String className)
  3. getDocument(CloseableHttpClient client, String url)
  4. getDocument(final String url)
  5. getDocument(String url)
  6. getIcon(Document doc)
  7. getInfoboxLines(final Document html, final boolean stripColor)
  8. getJSoupHtmlDocument(final String url)
  9. getJSoupXmlDocument(final String url)