org.semanticdesktop.aperture.crawler.samba
Class SambaCrawlerFactory

java.lang.Object
  extended by org.semanticdesktop.aperture.crawler.samba.SambaCrawlerFactory
All Implemented Interfaces:
CrawlerFactory

public class SambaCrawlerFactory
extends Object
implements CrawlerFactory

Manages instances of the SambaCrawler.


Constructor Summary
SambaCrawlerFactory()
           
 
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

SambaCrawlerFactory

public SambaCrawlerFactory()
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.
See Also:
CrawlerFactory.getSupportedTypes()

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.
See Also:
CrawlerFactory.getCrawler(DataSource)


Copyright © 2010 Aperture Development Team. All Rights Reserved.