org.semanticdesktop.aperture.crawler.impl
Class CrawlerRegistryImpl

java.lang.Object
  extended by org.semanticdesktop.aperture.crawler.impl.CrawlerRegistryImpl
All Implemented Interfaces:
CrawlerRegistry
Direct Known Subclasses:
DefaultCrawlerRegistry

public class CrawlerRegistryImpl
extends Object
implements CrawlerRegistry

A trivial default implementation of the CrawlerRegistry interface.


Constructor Summary
CrawlerRegistryImpl()
           
 
Method Summary
 void add(CrawlerFactory factory)
          Adds a CrawlerFactory to this registry.
 Set get(URI type)
          Returns all CrawlerFactories that support the specified DataSource type.
 Set getAll()
          Returns all CrawlerFactories registered in this CrawlerRegistry.
 void remove(CrawlerFactory factory)
          Removes a CrawlerFactory from this registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrawlerRegistryImpl

public CrawlerRegistryImpl()
Method Detail

add

public void add(CrawlerFactory factory)
Description copied from interface: CrawlerRegistry
Adds a CrawlerFactory to this registry.

Specified by:
add in interface CrawlerRegistry

remove

public void remove(CrawlerFactory factory)
Description copied from interface: CrawlerRegistry
Removes a CrawlerFactory from this registry.

Specified by:
remove in interface CrawlerRegistry

get

public Set get(URI type)
Description copied from interface: CrawlerRegistry
Returns all CrawlerFactories that support the specified DataSource type.

Specified by:
get in interface CrawlerRegistry
Returns:
A Set of CrawlerFactories whose supported types contain the specified type.

getAll

public Set getAll()
Description copied from interface: CrawlerRegistry
Returns all CrawlerFactories registered in this CrawlerRegistry.

Specified by:
getAll in interface CrawlerRegistry
Returns:
A Set of CrawlerFactory instances.


Copyright © 2010 Aperture Development Team. All Rights Reserved.