cz.cuni.pogamut.posh.explorer
Class NameMapCrawler

Package class diagram package NameMapCrawler
java.lang.Object
  extended by cz.cuni.pogamut.posh.explorer.NameMapCrawler
All Implemented Interfaces:
CrawlerListener<PrimitiveData>

public class NameMapCrawler
extends Object
implements CrawlerListener<PrimitiveData>

Special cralwer listener that will collect all name mappings and pass them to the ShedPresenter.

Author:
Honza

Constructor Summary
NameMapCrawler(ShedPresenter presenter)
           
 
Method Summary
 void crawledData(Crawler<PrimitiveData> crawler, Collection<PrimitiveData> data)
          Crawler has found new data, and they are now passed to the listeners.
 void finished(Crawler<PrimitiveData> crawler, boolean error)
          Yay, crawler has finished!.
 void started(Crawler<PrimitiveData> crawler)
          Crawling has started, the crawler is working.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameMapCrawler

public NameMapCrawler(ShedPresenter presenter)
Method Detail

started

public void started(Crawler<PrimitiveData> crawler)
Description copied from interface: CrawlerListener
Crawling has started, the crawler is working.

Specified by:
started in interface CrawlerListener<PrimitiveData>
Parameters:
crawler - crawler that has started executing.

crawledData

public void crawledData(Crawler<PrimitiveData> crawler,
                        Collection<PrimitiveData> data)
Description copied from interface: CrawlerListener
Crawler has found new data, and they are now passed to the listeners.

Specified by:
crawledData in interface CrawlerListener<PrimitiveData>
Parameters:
crawler - crawler that has crawled new data

finished

public void finished(Crawler<PrimitiveData> crawler,
                     boolean error)
Description copied from interface: CrawlerListener
Yay, crawler has finished!. No new data will be fed to the listener.

Specified by:
finished in interface CrawlerListener<PrimitiveData>
Parameters:
crawler - crawler that has finished.
error - did crawler finsih because of error?


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.