public class AlchemyRssDocReader extends RssDocReader
Constructor and Description |
---|
AlchemyRssDocReader()
Create a new AlchemyRssDocReader.
|
AlchemyRssDocReader(FormatReader<RssItem> rssReader)
Create a new AlchemyRssDocReader that reads Rss items from the RssReader
|
Modifier and Type | Method and Description |
---|---|
boolean |
canRead()
Return whether this reader is in a state where it can attempt to read
data.
|
protected DocData |
convertUrl(java.net.URL url)
Convert a webpage, specified by URL, into a DocData object
|
java.lang.String |
toString()
Return a String representation of this reader
|
close, getFilters, getSource, hasMoreData, readData, setFilters, setSource
public AlchemyRssDocReader()
setSource()
method.public AlchemyRssDocReader(FormatReader<RssItem> rssReader)
rssReader
- The RssReaderpublic boolean canRead()
canRead
in interface FormatReader<DocData>
canRead
in class RssDocReader
protected DocData convertUrl(java.net.URL url)
convertUrl
in class RssDocReader
url
- the URLpublic java.lang.String toString()
toString
in class RssDocReader