|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectws.qe.Tools.getDocWeb
This private class contains the run
method for downloading
a website.
This class implements the interface
Runnable
,
over-writing the inherited run
mathod from it, so the
process of website download could be interrupted after its start without
existing from the method calling it or the main program.
This class is to be called both in "Module I" and "Module II".
Tools.WebTextTokenStem(String, int, String, String, String, String)
,
Tools.WebTextTokenStem(String[], String, String, String, String)
Field Summary | |
private java.lang.String |
outFile
The html-file in which the downloaded website is to be saved. |
private java.lang.String |
urlAddress
The URL as Google search result. |
Constructor Summary | |
protected |
Tools.getDocWeb(java.lang.String urlAddress,
java.lang.String outFile)
Initializes a getDocWeb object. |
Method Summary | |
void |
run()
Over-writes the inherited method run from for its
implemented interface
Runnable . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String urlAddress
private java.lang.String outFile
Constructor Detail |
protected Tools.getDocWeb(java.lang.String urlAddress, java.lang.String outFile)
urlAddress
- The URL as Google search result.outFile
- The html-file in which the downloaded website is to be
saved.Method Detail |
public void run()
run
from for its
implemented interface
Runnable
.
run
in interface java.lang.Runnable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |