public class FileExtensionDocumentHandler extends Object implements DocumentHandler
Constructor and Description |
---|
FileExtensionDocumentHandler() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.document.Document |
getDocument(File file)
Gets the document attribute of the
FileExtensionDocumentHandler object
|
public org.apache.lucene.document.Document getDocument(File file) throws DocumentHandlerException
getDocument
in interface DocumentHandler
file
- Description of
ParameterDocumentHandlerException
- Description of
ExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.