org.erowid.sperowider
Class IndexerRunner

java.lang.Object
  extended byorg.erowid.sperowider.IndexerRunner

public class IndexerRunner
extends Object

Runs the Sperowider indexing.

Version:
$Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/sperowider/IndexerRunner.java,v 1.14 2005/06/02 07:03:53 gurustu Exp $
Author:
Stu Statman

Constructor Summary
IndexerRunner(SperowiderContext context)
          Creates a runner to run an Indexer.
 
Method Summary
 int getIndexedFileCount()
          Returns the number of files indexed
 void run()
          Indexes all downloaded files in the source tree that the downloader has marked as for indexing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexerRunner

public IndexerRunner(SperowiderContext context)
              throws IOException
Creates a runner to run an Indexer. Only one Indexer is created so they could be merged, but I prefer to keep the model consistent.

Method Detail

run

public void run()
Indexes all downloaded files in the source tree that the downloader has marked as for indexing.


getIndexedFileCount

public int getIndexedFileCount()
Returns the number of files indexed


spero logo small Sperowider is
© 2005 Erowid.org