org.apache.lenya.lucene.index
Interface DocumentCreator

All Known Implementing Classes:
AbstractDocumentCreator, ConfigurableDocumentCreator, DefaultDocumentCreator

public interface DocumentCreator

An object of a class implementing this interface creates Lucene documents from files.


Method Summary
 org.apache.lucene.document.Document getDocument(java.io.File file, java.io.File htdocsDumpDir)
          Create a document from a file.
 

Method Detail

getDocument

org.apache.lucene.document.Document getDocument(java.io.File file,
                                                java.io.File htdocsDumpDir)
                                                throws java.lang.Exception
Create a document from a file.

Throws:
java.lang.Exception


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