public interface CollectionReader
Interface of Collection Reader which read out articles from a collection one by one
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the collection reader and releases all occupied resources.
|
Article |
getArticleByKey(String key)
Reads out the article according to its key
|
ArticleParser |
getArticleParser()
Gets the article parser of the collection reader
|
Article |
getNextArticle()
Collection readers only support forward-only read mode.
|
void |
restart()
The collection reader supports forward-only read mode.
|
void |
setArticleParser(ArticleParser parser)
Sets the article parse for the collection reader
|
int |
size()
The size of the collection.
|
boolean |
supportArticleKeyRetrieval()
if the query supports this retrieval mode, one can get articles by calling getArticleByKey method.
|
ArticleParser getArticleParser()
void setArticleParser(ArticleParser parser)
parser - the article parserArticle getNextArticle()
Article getArticleByKey(String key)
key - the unique entry number of the articleboolean supportArticleKeyRetrieval()
void close()
void restart()
int size()
Copyright © 2018 JULIE Lab, Germany. All rights reserved.