|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcs132.webPage.PrintingCallback
public class PrintingCallback
This class is a simple callback that prints each URL found.
| Constructor Summary | |
|---|---|
PrintingCallback()
|
|
| Method Summary | |
|---|---|
void |
foundHRef(java.net.URL found,
java.net.URL in)
This method is invoked by software examining a web page each time an HRef is found within the contents of the web page. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrintingCallback()
| Method Detail |
|---|
public void foundHRef(java.net.URL found,
java.net.URL in)
Callback
foundHRef in interface Callbackfound - -
the URL that was found in the contents of a web pagein - -
the URL of the web page in which this HRef was found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||