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 SyndFeedI 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()
           
 long getLastModified()
           
 com.sun.syndication.feed.synd.SyndFeedI getSyndFeed()
           
 java.net.URL getUrl()
           
 void setETag(java.lang.String string)
           
 void setId(java.lang.String string)
           
 void setLastModified(long l)
           
 void setSyndFeed(com.sun.syndication.feed.synd.SyndFeedI feedI)
           
 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 long getLastModified()
Returns:
the last modified date fo 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(long l)

setUrl

public void setUrl(java.net.URL url)

getSyndFeed

public com.sun.syndication.feed.synd.SyndFeedI getSyndFeed()

setSyndFeed

public void setSyndFeed(com.sun.syndication.feed.synd.SyndFeedI feedI)

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.