|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.theloutons.search.utils.DocReadOrgainzer
Method Summary | |
static org.apache.lucene.document.Document |
getDocument(java.io.File f,
java.util.Properties def,
java.io.PrintWriter out)
At the moment |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static org.apache.lucene.document.Document getDocument(java.io.File f, java.util.Properties def, java.io.PrintWriter out)
f
- is the name of the file to be read. At the moment we look at
the suffix to decide, html, doc (winword), pdf, txt, csv, rtf
and ppt Before deciding what to do, add general properties to
the doc. If we cannot handle the document, then the doc is set
to document from this file to be returned to be indexed. If
the file is not of a type which can be handled, null is
returned.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |