|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.theloutons.search.specialreaders.CSVReader
The will read csv files (comma separated variables) and its main task will be to filter to get really only words and skip the cells with numbers in them.
Constructor Summary | |
CSVReader()
|
Method Summary | |
org.apache.lucene.document.Document |
getDocument()
The just returns the document created. |
void |
setFile(java.io.File f,
java.io.PrintWriter log)
This sets the files and does the extraction. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CSVReader()
Method Detail |
public org.apache.lucene.document.Document getDocument()
DocumentAnalyze
getDocument
in interface DocumentAnalyze
public void setFile(java.io.File f, java.io.PrintWriter log)
DocumentAnalyze
setFile
in interface DocumentAnalyze
f
- the file from which the tokens are to be extracted.log
- a log file. I suggest that where ever a doc=null;return
is done, write an reason to the log.public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |