public class HTMLPageRetriever
extends java.lang.Object
| Constructor and Description |
|---|
HTMLPageRetriever()
Constructs a HTMLPageRetriever object.
|
| Modifier and Type | Method and Description |
|---|---|
HTMLPage |
getHTMLPage(Link link)
Downloads a web page from a given URL.
|
public HTMLPageRetriever()
public HTMLPage getHTMLPage(Link link) throws PathDisallowedException
link - The Link with the URL to download the
page from.HTML page representing the page
downloaded from the Link.PathDisallowedException