org.semanticdesktop.aperture.crawler.impl
Class DefaultCrawlerRegistry

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

public class DefaultCrawlerRegistry
extends CrawlerRegistryImpl

DefaultCrawlerRegistry provides the complete set of CrawlerFactories available in Aperture.

The main purpose of this class is to be able to conveniently access the set of CrawlerFactories in non-OSGi applications, which take care of this initialization in a different way. A single line of code gives you the entire set without requiring further setup.

The set of factory class names are loaded from an XML file which can optionally be specified to the constructor. This class requires all the listed classes to have a no-argument constructor.


Constructor Summary
DefaultCrawlerRegistry()
           
DefaultCrawlerRegistry(InputStream stream)
           
 
Method Summary
 
Methods inherited from class org.semanticdesktop.aperture.crawler.impl.CrawlerRegistryImpl
add, get, getAll, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCrawlerRegistry

public DefaultCrawlerRegistry()

DefaultCrawlerRegistry

public DefaultCrawlerRegistry(InputStream stream)
                       throws IOException
Throws:
IOException


Copyright © 2010 Aperture Development Team. All Rights Reserved.