Java HTML Jsoup Document getDocument(String url)

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

Description

get Document

License

LGPL

Declaration

public static Document getDocument(String url) throws IOException 

Method Source Code

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

import java.io.IOException;

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

public class Main {
    public static int TIME_OUT = 10000;

    public static Document getDocument(String url) throws IOException {
        return Jsoup.connect(url).timeout(TIME_OUT).get();
    }/*  ww w  .j av  a  2s.c o  m*/
}

Related

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