org.semanticdesktop.aperture.addressbook.thunderbird
Class ThunderbirdAddressbookCrawlerFactory

java.lang.Object
  extended by org.semanticdesktop.aperture.addressbook.thunderbird.ThunderbirdAddressbookCrawlerFactory
All Implemented Interfaces:
CrawlerFactory

public class ThunderbirdAddressbookCrawlerFactory
extends Object
implements CrawlerFactory


Constructor Summary
ThunderbirdAddressbookCrawlerFactory()
           
 
Method Summary
 Crawler getCrawler(DataSource dataSource)
          Return a Crawler that can crawl the specified DataSource.
 Set getSupportedTypes()
          Returns a set of URIs indicating the DataSource types that are supported by the Crawler implementation provided by this CrawlerFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThunderbirdAddressbookCrawlerFactory

public ThunderbirdAddressbookCrawlerFactory()
Method Detail

getSupportedTypes

public Set getSupportedTypes()
Description copied from interface: CrawlerFactory
Returns a set of URIs indicating the DataSource types that are supported by the Crawler implementation provided by this CrawlerFactory.

Specified by:
getSupportedTypes in interface CrawlerFactory
Returns:
A Set of DataSource type URIs.

getCrawler

public Crawler getCrawler(DataSource dataSource)
Description copied from interface: CrawlerFactory
Return a Crawler that can crawl the specified DataSource. The getType method of this DataSource should return a URI that is contained in the supported types set of this CrawlerFactory.

Specified by:
getCrawler in interface CrawlerFactory
Parameters:
dataSource - The DataSource for which a Crawler needs to be generated.
Returns:
A Crawler whose getDataSource method returns the specified DataSource.


Copyright © 2010 Aperture Development Team. All Rights Reserved.