## org.apache.lucene.ant
Interface DocumentHandler

All Known Subinterfaces:
  ConfigurableDocumentHandler

All Known Implementing Classes:
  FileExtensionDocumentHandler

    public interface DocumentHandler

Allows a class to act as a Lucene document handler

Since:
  October 27, 2001
Author:
  Erik Hatcher

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

Method Detail

### getDocument

    Document getDocument(File file)
                         throws DocumentHandlerException

  Gets the document attribute of the DocumentHandler object

  Parameters:
    `file` - Description of Parameter
  Returns:
    The document value
  Throws:
    `DocumentHandlerException`

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