de.l3s.boilerpipe.sax
Class HTMLFetcher

java.lang.Object
  extended by de.l3s.boilerpipe.sax.HTMLFetcher

public class HTMLFetcher
extends java.lang.Object

A very simple HTTP/HTML fetcher, really just for demo purposes.

Author:
Christian Kohlschütter

Method Summary
static HTMLDocument fetch(java.net.URL url)
          Fetches the document at the given URL, using URLConnection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fetch

public static HTMLDocument fetch(java.net.URL url)
                          throws java.io.IOException
Fetches the document at the given URL, using URLConnection.

Parameters:
url -
Returns:
Throws:
java.io.IOException