|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.gumshoe.indexer.ContentReader net.sf.gumshoe.indexer.DefaultContentReader
public class DefaultContentReader
Field Summary |
---|
Fields inherited from class net.sf.gumshoe.indexer.ContentReader |
---|
CONTENTS, FILECATEGORY, FILENAME, MODIFIED |
Constructor Summary | |
---|---|
DefaultContentReader()
|
Method Summary | |
---|---|
java.lang.String |
getCategory()
Default category is none |
org.apache.lucene.document.Document |
getDocument(java.io.File f)
Generate index entry for file |
java.util.List |
getSupportedExtensions()
List extensions supported by this reader |
Methods inherited from class net.sf.gumshoe.indexer.ContentReader |
---|
addDefaultFields, getContentFromXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultContentReader()
Method Detail |
---|
public java.lang.String getCategory()
getCategory
in class ContentReader
ContentReader.getCategory()
public org.apache.lucene.document.Document getDocument(java.io.File f) throws java.lang.Exception
ContentReader
getDocument
in class ContentReader
f
- file to be indexed
java.lang.Exception
public java.util.List getSupportedExtensions()
ContentReader
getSupportedExtensions
in class ContentReader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |