org.semanticdesktop.aperture.websites.delicious
Class DeliciousCrawlerFactory
java.lang.Object
org.semanticdesktop.aperture.websites.delicious.DeliciousCrawlerFactory
- All Implemented Interfaces:
- CrawlerFactory
public class DeliciousCrawlerFactory
- extends Object
- implements CrawlerFactory
A factory of del.icio.us crawlers
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 |
DeliciousCrawlerFactory
public DeliciousCrawlerFactory()
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(org.semanticdesktop.aperture.datasource.DataSource)
Copyright © 2010 Aperture Development Team. All Rights Reserved.