|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.util.Monitor
org.jscience.net.Spider.SMonitor
@Deprecated public static class Spider.SMonitor
a specialized Monitor that can be used with a Spider; it simply provides some useful progress information during execution of the searchWebFor() function
Spider.searchWebFor(String[],URL,boolean,int,boolean,String[],Monitor)| Field Summary |
|---|
| Fields inherited from class org.jscience.util.Monitor |
|---|
test, timer |
| Constructor Summary | |
|---|---|
Spider.SMonitor(Logger logger,
int maxFound)
Deprecated. |
|
| Method Summary | |
|---|---|
int |
getCurrentLevel()
Deprecated. |
java.net.URL |
getCurrentURL()
Deprecated. |
java.util.List |
getExcludeList()
Deprecated. |
int |
getNumberOfPagesFound()
Deprecated. |
int |
getNumberOfPagesSearched()
Deprecated. |
java.util.List |
getResultList()
Deprecated. |
java.util.List |
getSearchList()
Deprecated. |
void |
run()
Deprecated. prints progress information from the given monitor to either the console or a specified log file |
void |
setMaxFound(int maxFound)
Deprecated. |
| Methods inherited from class org.jscience.util.Monitor |
|---|
disable, disabled, disableLater, done, enable, enabled, getMax, getMessage, getMin, getNumber, getNumber, getObject, getObject, getSize, getTask, getTimer, increment, increment, isDone, reInitialize, runTask, setMax, setMessage, setMin, setNumber, setNumber, setObject, setObject, setTask, test, test |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Spider.SMonitor(Logger logger,
int maxFound)
logger - if not null, logger will be used to log all messages theremaxFound - if set to a number >0, run() will disable the
given monitor after the given number of pages were reported
found by the monitorSpider.searchWebFor(String[],URL,boolean,int,boolean,String[],Monitor)| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablepublic int getNumberOfPagesSearched()
public int getCurrentLevel()
public int getNumberOfPagesFound()
public java.net.URL getCurrentURL()
public java.util.List getSearchList()
public java.util.List getExcludeList()
public java.util.List getResultList()
public void setMaxFound(int maxFound)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||