|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.rss.RssFeedReader
public class RssFeedReader
Wrapper class for the ROME functionality used in the RSS implementation in SIP Communicator. The class provides the means for identifying feed items, formatting and displaying the actual feed items.
| Constructor Summary | |
|---|---|
RssFeedReader(URL contactRssURL)
Creates an instance of a RSS reader with the specified string used as an URL for the actual feed. |
|
| Method Summary | |
|---|---|
static RssFeedReader |
deserialize(URL contactRssURL,
String settings)
|
com.sun.syndication.feed.synd.SyndFeed |
getFeed()
Returns a ChannelIF that can be used to know if a feed exists indeed. |
RssItemKey |
getLastItemKey()
Return the key for the last item retrieved. |
String |
getNewFeeds()
Returns the textual representation of the feed's items with regard to the key of the last item shown to the user. |
String |
getNoNewFeedString()
|
Date |
getPubDate()
Returns a Date giving the publication date of the feed on the relevant server. |
String |
getTitle()
Returns a String used as a display name. |
String |
getURL()
Returns a String that can be used for identifying the contact. |
String |
serialize()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RssFeedReader(URL contactRssURL)
throws OperationFailedException,
FileNotFoundException
contactRssURL - the URL of this feed.
OperationFailedException
FileNotFoundException| Method Detail |
|---|
public String getNewFeeds()
throws OperationFailedException,
FileNotFoundException
OperationFailedException
FileNotFoundExceptionpublic String getNoNewFeedString()
public RssItemKey getLastItemKey()
public com.sun.syndication.feed.synd.SyndFeed getFeed()
public Date getPubDate()
public String getTitle()
public String getURL()
public String serialize()
public static RssFeedReader deserialize(URL contactRssURL,
String settings)
throws OperationFailedException,
FileNotFoundException
OperationFailedException
FileNotFoundException
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||