public class BasicIRDocIndexList extends Object implements IRDocIndexList
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 and Description |
|---|
BasicIRDocIndexList(String filename,
boolean writingMode) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public BasicIRDocIndexList(String filename, boolean writingMode)
public IRDoc get(int index)
IRDocIndexListget in interface IRDocIndexListindex - the index of the documentpublic boolean add(IRDoc curDoc)
IRDocIndexListadd in interface IRDocIndexListcurDoc - the IRDoc for addingpublic void close()
IRDocIndexListclose in interface IRDocIndexListpublic int size()
IRDocIndexListsize in interface IRDocIndexListCopyright © 2018 JULIE Lab, Germany. All rights reserved.