|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rometools.fetcher.impl.SyndFeedInfo
public class SyndFeedInfo
A class to represent a SyndFeed
and some useful information about it.
This class is thread safe, as expected by the different feed fetcher implementations.
Constructor Summary | |
---|---|
SyndFeedInfo()
|
Method Summary | |
---|---|
Object |
clone()
Creates a deep 'bean' clone of the object. |
boolean |
equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. |
String |
getETag()
|
String |
getId()
|
Object |
getLastModified()
|
com.sun.syndication.feed.synd.SyndFeed |
getSyndFeed()
|
URL |
getUrl()
|
int |
hashCode()
Returns a hashcode value for the object. |
void |
setETag(String string)
|
void |
setId(String string)
|
void |
setLastModified(Object o)
|
void |
setSyndFeed(com.sun.syndication.feed.synd.SyndFeed feed)
|
void |
setUrl(URL url)
|
String |
toString()
Returns the String representation for the object. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SyndFeedInfo()
Method Detail |
---|
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(Object other)
equals
in class Object
other
- he reference object with which to compare.
public int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode
in class Object
public String toString()
toString
in class Object
public String getETag()
public Object getLastModified()
public URL getUrl()
public void setETag(String string)
public void setLastModified(Object o)
public void setUrl(URL url)
public com.sun.syndication.feed.synd.SyndFeed getSyndFeed()
public void setSyndFeed(com.sun.syndication.feed.synd.SyndFeed feed)
public String getId()
public void setId(String string)
string
- A unique ID to identify the feed. Note that if the URL of the feed
changes this will remain the same
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |