|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectir.webutils.HTMLPageRetriever
public class HTMLPageRetriever
HTMLPageRetriever allows clients to download web pages from URLs. This is the default implementation, which performs no processing aside from downloading web pages from a URL. This class does not maintain any state, so subclasses do not need to worry about fields.
| Constructor Summary | |
|---|---|
HTMLPageRetriever()
Constructs a HTMLPageRetriever object. |
|
| Method Summary | |
|---|---|
HTMLPage |
getHTMLPage(Link link)
Downloads a web page from a given URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLPageRetriever()
| Method Detail |
|---|
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||