|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--dragon.ir.index.BasicIRDocIndexList
The class is used to write or load the indexing information for a given document or document set
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor Summary | |
BasicIRDocIndexList(java.lang.String filename,
boolean writingMode)
|
|
| Method Summary | |
boolean |
add(IRDoc curDoc)
Adds an IRDoc object to the index list |
void |
close()
Releases occupied resources |
IRDoc |
get(int index)
Gets the IRDoc specified by its index |
int |
size()
Gets the number of documents in the list. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicIRDocIndexList(java.lang.String filename,
boolean writingMode)
| Method Detail |
public IRDoc get(int index)
IRDocIndexList
get in interface IRDocIndexListindex - the index of the document
public boolean add(IRDoc curDoc)
IRDocIndexList
add in interface IRDocIndexListcurDoc - the IRDoc for adding
public void close()
IRDocIndexList
close in interface IRDocIndexListpublic int size()
IRDocIndexList
size in interface IRDocIndexList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||