| |
|
| java.lang.Object org.jperdian.rss2.RssClient
RssClient | public class RssClient (Code) | | Implementation of a connector that can be used to read RSS channel data
and transform them into a valid RSS DOM object
author: Christian Robert |
RssClient | public RssClient(URL url)(Code) | | Creates a new client that receives it's data from the given URL
Parameters: url - the URL from which to receive the data |
RssClient | public RssClient(URL url, String keywords, String title)(Code) | | Creates a new client that receives it's data from the given URL
Parameters: url - the URL from which to receive the data Parameters: keywords - the keywords that can later be used for sorting Parameters: title - the title to be used for display |
getData | final public RssChannel getData() throws RssException(Code) | | Reads the data from the remote RSS source and create a new
RssChannel object that contains the data that has been read
the data in RSS DOM format throws: RssException - thrown if the data is not in valid RSS format or the connectionis unreachable |
getKeywords | public String getKeywords()(Code) | | Gets the keywords to be used for sorting the current client
|
getParser | protected RssParser getParser()(Code) | | Gets the RssParser through which the messages are analyzed
|
getTitle | public String getTitle()(Code) | | Gets the title to be used for sorting the current client
|
getURL | public URL getURL()(Code) | | Gets the URL from which to read the data
|
setKeywords | protected void setKeywords(String keywords)(Code) | | Sets the keywords to be used for sorting the current client
|
setTitle | protected void setTitle(String title)(Code) | | Sets the title to be used for sorting the current client
|
setURL | protected void setURL(URL url)(Code) | | Sets the URL from which to read the data
|
|
|
|