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

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

public class AbstractIndexer.IndexHandler
extends AbstractIndexIteratorHandler

DOCUMENT ME!


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

Constructor Detail

AbstractIndexer.IndexHandler

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

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

getInformation

protected IndexInformation getInformation()

getDumpDirectory

protected java.io.File getDumpDirectory()

getWriter

protected org.apache.lucene.index.IndexWriter getWriter()

addFile

protected void addFile(java.io.File file)
Add document to index



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