Package de.l3s.boilerpipe.sax
Class HTMLFetcher
- java.lang.Object
-
- de.l3s.boilerpipe.sax.HTMLFetcher
-
public class HTMLFetcher extends java.lang.ObjectA very simple HTTP/HTML fetcher, really just for demo purposes.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HTMLDocumentfetch(java.net.URL url)Fetches the document at the given URL, usingURLConnection.
-
-
-
Method Detail
-
fetch
public static HTMLDocument fetch(java.net.URL url) throws java.io.IOException
Fetches the document at the given URL, usingURLConnection.- Parameters:
url-- Returns:
- Throws:
java.io.IOException
-
-