com.sun.syndication.fetcher.impl
Class SyndFeedInfo
java.lang.Object
com.sun.syndication.common.ObjectBean
com.sun.syndication.fetcher.impl.SyndFeedInfo
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable, com.sun.syndication.common.ToString
- public class SyndFeedInfo
- extends com.sun.syndication.common.ObjectBean
A class to represent a SyndFeed
and some useful information about it.
- Author:
- Nick Lothian
- See Also:
- Serialized Form
Methods inherited from class com.sun.syndication.common.ObjectBean |
clone, equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
SyndFeedInfo
public SyndFeedInfo()
getETag
public java.lang.String getETag()
- Returns:
- the ETag the feed was last retrieved with
getLastModified
public java.lang.Object getLastModified()
- Returns:
- the last modified date for the feed
getUrl
public java.net.URL getUrl()
- Returns:
- the URL the feed was served from
setETag
public void setETag(java.lang.String string)
setLastModified
public void setLastModified(java.lang.Object o)
setUrl
public void setUrl(java.net.URL url)
getSyndFeed
public com.sun.syndication.feed.synd.SyndFeed getSyndFeed()
setSyndFeed
public void setSyndFeed(com.sun.syndication.feed.synd.SyndFeed feed)
getId
public java.lang.String getId()
- Returns:
- A unique ID to identify the feed
setId
public void setId(java.lang.String string)
- Parameters:
string
- A unique ID to identify the feed. Note that if the URL of the feed
changes this will remain the same
Copyright © 2004 Sun Microsystems. All Rights Reserved.