org.apache.lenya.lucene.index
Class AbstractIndexer.CreateIndexHandler

java.lang.Object
  extended by org.apache.lenya.lucene.index.AbstractIndexIteratorHandler
      extended by org.apache.lenya.lucene.index.AbstractIndexer.IndexHandler
          extended by org.apache.lenya.lucene.index.AbstractIndexer.CreateIndexHandler
All Implemented Interfaces:
IndexIteratorHandler
Enclosing class:
AbstractIndexer

public class AbstractIndexer.CreateIndexHandler
extends AbstractIndexer.IndexHandler

DOCUMENT ME!


Constructor Summary
AbstractIndexer.CreateIndexHandler(java.io.File dumpDirectory, IndexInformation info, org.apache.lucene.index.IndexWriter writer)
          Creates a new CreateIndexHandler object.
 
Method Summary
 void handleFile(org.apache.lucene.index.IndexReader reader, java.io.File file)
          Handles a file.
 
Methods inherited from class org.apache.lenya.lucene.index.AbstractIndexer.IndexHandler
addFile, getDumpDirectory, getInformation, getWriter
 
Methods inherited from class org.apache.lenya.lucene.index.AbstractIndexIteratorHandler
handleNewDocument, handleStaleDocument, handleUnmodifiedDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIndexer.CreateIndexHandler

public AbstractIndexer.CreateIndexHandler(java.io.File dumpDirectory,
                                          IndexInformation info,
                                          org.apache.lucene.index.IndexWriter writer)
Creates a new CreateIndexHandler object.

Parameters:
dumpDirectory - DOCUMENT ME!
info - DOCUMENT ME!
writer - DOCUMENT ME!
Method Detail

handleFile

public void handleFile(org.apache.lucene.index.IndexReader reader,
                       java.io.File file)
Handles a file. Used when creating a new index.

Specified by:
handleFile in interface IndexIteratorHandler
Overrides:
handleFile in class AbstractIndexIteratorHandler


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.