|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antelmann.util.Monitor
com.antelmann.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 com.antelmann.util.Monitor |
|---|
test, timer |
| Fields inherited from interface com.antelmann.util.Enabled |
|---|
FILTER |
| Constructor Summary | |
|---|---|
Spider.SMonitor(Logger logger,
int maxFound)
Deprecated. |
|
| Method Summary | |
|---|---|
int |
getCurrentLevel()
Deprecated. |
URL |
getCurrentURL()
Deprecated. |
List<?> |
getExcludeList()
Deprecated. |
int |
getNumberOfPagesFound()
Deprecated. |
int |
getNumberOfPagesSearched()
Deprecated. |
List<?> |
getResultList()
Deprecated. |
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 com.antelmann.util.Monitor |
|---|
disable, disabled, disableLater, done, enable, enabled, getMax, getMessage, getMin, getNumber, getNumber, getObject, getObject, getSize, getTask, getTimer, increment, increment, isDone, isEnabled, reInitialize, reInitialize, runTask, setEnabled, 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 Runnablepublic int getNumberOfPagesSearched()
public int getCurrentLevel()
public int getNumberOfPagesFound()
public URL getCurrentURL()
public List<?> getSearchList()
public List<?> getExcludeList()
public List<?> getResultList()
public void setMaxFound(int maxFound)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||