org.apache.lucene.ant

Interface DocumentHandler

Known Subinterfaces:
ConfigurableDocumentHandler
Known Implementing Classes:
FileExtensionDocumentHandler

public interface DocumentHandler

Allows a class to act as a Lucene document handler
Author:
Erik Hatcher

Method Summary

Document
getDocument(File file)
Gets the document attribute of the DocumentHandler object

Method Details

getDocument

public Document getDocument(File file)
            throws DocumentHandlerException
Gets the document attribute of the DocumentHandler object
Parameters:
file - Description of Parameter
Returns:
The document value

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.