Package com.rometools.fetcher.impl
Class SyndFeedInfo
- java.lang.Object
-
- com.rometools.fetcher.impl.SyndFeedInfo
-
- All Implemented Interfaces:
Serializable,Cloneable
@Deprecated public class SyndFeedInfo extends Object implements Cloneable, Serializable
Deprecated.ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, please have a look at our detailed explanation.A class to represent a
SyndFeedand some useful information about it.This class is thread safe, as expected by the different feed fetcher implementations.
- Author:
- Nick Lothian
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SyndFeedInfo()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Objectclone()Deprecated.Creates a deep 'bean' clone of the object.booleanequals(Object other)Deprecated.Indicates whether some other object is "equal to" this one as defined by the Object equals() method.StringgetETag()Deprecated.StringgetId()Deprecated.ObjectgetLastModified()Deprecated.SyndFeedgetSyndFeed()Deprecated.URLgetUrl()Deprecated.inthashCode()Deprecated.Returns a hashcode value for the object.voidsetETag(String string)Deprecated.voidsetId(String string)Deprecated.voidsetLastModified(Object o)Deprecated.voidsetSyndFeed(SyndFeed feed)Deprecated.voidsetUrl(URL url)Deprecated.StringtoString()Deprecated.Returns the String representation for the object.
-
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
Deprecated.Creates a deep 'bean' clone of the object.- Overrides:
clonein classObject- Returns:
- a clone of the object.
- Throws:
CloneNotSupportedException- thrown if an element of the object cannot be cloned.
-
equals
public boolean equals(Object other)
Deprecated.Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
-
hashCode
public int hashCode()
Deprecated.Returns a hashcode value for the object.It follows the contract defined by the Object hashCode() method.
-
toString
public String toString()
Deprecated.Returns the String representation for the object.
-
getETag
public String getETag()
Deprecated.- Returns:
- the ETag the feed was last retrieved with
-
getLastModified
public Object getLastModified()
Deprecated.- Returns:
- the last modified date for the feed
-
getUrl
public URL getUrl()
Deprecated.- Returns:
- the URL the feed was served from
-
setETag
public void setETag(String string)
Deprecated.
-
setLastModified
public void setLastModified(Object o)
Deprecated.
-
setUrl
public void setUrl(URL url)
Deprecated.
-
getSyndFeed
public SyndFeed getSyndFeed()
Deprecated.
-
setSyndFeed
public void setSyndFeed(SyndFeed feed)
Deprecated.
-
getId
public String getId()
Deprecated.- Returns:
- A unique ID to identify the feed
-
setId
public void setId(String string)
Deprecated.- Parameters:
string- A unique ID to identify the feed. Note that if the URL of the feed changes this will remain the same
-
-