Class 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 SyndFeed and 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 Detail

      • SyndFeedInfo

        public SyndFeedInfo()
        Deprecated.
    • Method Detail

      • equals

        public boolean equals​(Object other)
        Deprecated.
        Indicates whether some other object is "equal to" this one as defined by the Object equals() method.

        Overrides:
        equals in class Object
        Parameters:
        other - he reference object with which to compare.
        Returns:
        true if 'this' object is equal to the 'other' object.
      • hashCode

        public int hashCode()
        Deprecated.
        Returns a hashcode value for the object.

        It follows the contract defined by the Object hashCode() method.

        Overrides:
        hashCode in class Object
        Returns:
        the hashcode of the bean object.
      • toString

        public String toString()
        Deprecated.
        Returns the String representation for the object.

        Overrides:
        toString in class Object
        Returns:
        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