|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.ant.FileExtensionDocumentHandler
public class FileExtensionDocumentHandler
A DocumentHandler implementation to delegate responsibility to based on a files extension. Currently only .html and .txt files are handled, other extensions ignored.
Constructor Summary | |
---|---|
FileExtensionDocumentHandler()
|
Method Summary | |
---|---|
org.apache.lucene.document.Document |
getDocument(java.io.File file)
Gets the document attribute of the FileExtensionDocumentHandler object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileExtensionDocumentHandler()
Method Detail |
---|
public org.apache.lucene.document.Document getDocument(java.io.File file) throws DocumentHandlerException
getDocument
in interface DocumentHandler
file
- Description of
Parameter
DocumentHandlerException
- Description of
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |