net.sf.gumshoe.indexer
Class OOOContentReader

java.lang.Object
  extended by net.sf.gumshoe.indexer.ContentReader
      extended by net.sf.gumshoe.indexer.OOOContentReader

public class OOOContentReader
extends ContentReader

Author:
Gabor TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
 
Fields inherited from class net.sf.gumshoe.indexer.ContentReader
CONTENTS, FILECATEGORY, FILENAME, MODIFIED
 
Constructor Summary
OOOContentReader()
           
 
Method Summary
 java.lang.String getCategory()
          Document?
 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

OOOContentReader

public OOOContentReader()
Method Detail

getCategory

public java.lang.String getCategory()
Document?

Specified by:
getCategory in class ContentReader
Returns:
category (like email, document, etc.)
See Also:
ContentReader.getCategory()

getSupportedExtensions

public java.util.List getSupportedExtensions()
Description copied from class: ContentReader
List extensions supported by this reader

Specified by:
getSupportedExtensions in class ContentReader
Returns:
list of extensions

getDocument

public org.apache.lucene.document.Document getDocument(java.io.File f)
                                                throws java.lang.Exception
Description copied from class: ContentReader
Generate index entry for file

Specified by:
getDocument in class ContentReader
Parameters:
f - file to be indexed
Returns:
index entry
Throws:
java.lang.Exception


Copyright © 2005 Gumshoe Desktop Search Developers. All Rights Reserved.