|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CrawlingListener
CrawlingListeners are notified by a CrawlingRepository about its crawling progress.
| Field Summary | |
|---|---|
static int |
CRAWL_COMPLETED
Used to indicate that a crawl was successfully performed. |
static int |
CRAWL_STOPPED_BY_REQUEST
Used to indicate that a crawl was only partially completed because of an external request for interruption. |
static int |
FATAL_EXCEPTION_WHILE_CRAWLING
Used to indicate that a crawl was only partially completed because of one or more exceptions during crawling. |
| Method Summary | |
|---|---|
void |
clearCrawlResultsFinished()
Signals that the CrawlingRepository has finished clearing its crawl results. |
void |
clearCrawlResultsStarted()
Signals that the CrawlingRepository has started clearing its crawl results. |
void |
crawlFinished(int exitCode)
Signals that the CrawlingRepository has finished crawling. |
void |
crawlingObject(String url)
Signals that the CrawlingRepository has started crawling the object represented by the specified URL. |
void |
crawlStarted()
Signals that the CrawlingRepository has started to crawl its DataSource. |
void |
finishingCrawl()
Signals that the CrawlingRepository has finished crawling the last URI and is wrapping things up. |
void |
newObjectCrawled(org.semanticdesktop.aperture.accessor.DataObject object)
Signals that the CrawlingRepository has identified a new object that will be represented by the specified URI. |
void |
objectNotModified(String url)
Signals that the CrawlingRepository has detected that the object represented by the specified URI has not changed. |
void |
objectRemoved(String url)
Signals that the CrawlingRepository has detected that the object represented by the specified URI is no longer available. |
void |
objectUpdated(org.semanticdesktop.aperture.accessor.DataObject object)
Signals that the CrawlingRepository has identified and crawled a changed object, represented by the specified URI. |
void |
processingChangedObject(org.semanticdesktop.aperture.accessor.DataObject object)
Signals that the CrawlingRepository has identifier a changed object and is starting to process its contents. |
void |
processingNewObject(org.semanticdesktop.aperture.accessor.DataObject object)
Signals that the CrawlingRepository has identified a new object and is starting to process its contents. |
| Field Detail |
|---|
static final int CRAWL_COMPLETED
static final int CRAWL_STOPPED_BY_REQUEST
static final int FATAL_EXCEPTION_WHILE_CRAWLING
| Method Detail |
|---|
void crawlStarted()
void crawlingObject(String url)
void processingNewObject(org.semanticdesktop.aperture.accessor.DataObject object)
void processingChangedObject(org.semanticdesktop.aperture.accessor.DataObject object)
void newObjectCrawled(org.semanticdesktop.aperture.accessor.DataObject object)
void objectUpdated(org.semanticdesktop.aperture.accessor.DataObject object)
void objectNotModified(String url)
void objectRemoved(String url)
void finishingCrawl()
void crawlFinished(int exitCode)
void clearCrawlResultsStarted()
void clearCrawlResultsFinished()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||