T - what kind of data should crawler look for and pass to the listeners.public interface CrawlerListener<T>
Crawler and its subclasses.| Modifier and Type | Method and Description |
|---|---|
void |
crawledData(Crawler<T> crawler,
Collection<T> data)
Crawler has found new data, and they are now passed to the listeners.
|
void |
finished(Crawler<T> crawler,
boolean error)
Yay, crawler has finished!.
|
void |
started(Crawler<T> crawler)
Crawling has started, the crawler is working.
|
void started(Crawler<T> crawler)
crawler - crawler that has started executing.void crawledData(Crawler<T> crawler, Collection<T> data)
crawler - crawler that has crawled new datadata - Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.