com.sun.syndication.fetcher.impl
Class SyndFeedInfo

java.lang.Object
  extended bycom.sun.syndication.common.ObjectBean
      extended bycom.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

Constructor Summary
SyndFeedInfo()
           
 
Method Summary
 java.lang.String getETag()
           
 java.lang.String getId()
           
 java.lang.Object getLastModified()
           
 com.sun.syndication.feed.synd.SyndFeed getSyndFeed()
           
 java.net.URL getUrl()
           
 void setETag(java.lang.String string)
           
 void setId(java.lang.String string)
           
 void setLastModified(java.lang.Object o)
           
 void setSyndFeed(com.sun.syndication.feed.synd.SyndFeed feed)
           
 void setUrl(java.net.URL url)
           
 
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
 

Constructor Detail

SyndFeedInfo

public SyndFeedInfo()
Method Detail

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.