dekoh.portal.syndication.aggregator.core
Class SubscriptionItem
java.lang.Object
dekoh.portal.syndication.aggregator.core.SubscriptionItem
- All Implemented Interfaces:
- Cloneable
public class SubscriptionItem
- extends Object
- implements Cloneable
- Since:
- Oct 8, 2007
SubscriptionItem
public SubscriptionItem(URI feeduri)
throws MalformedURLException
- Throws:
MalformedURLException
SubscriptionItem
public SubscriptionItem(URI feeduri,
String authCookie)
throws MalformedURLException
- Throws:
MalformedURLException
SubscriptionItem
public SubscriptionItem(URI feeduri,
String userName,
String password)
throws MalformedURLException
- Throws:
MalformedURLException
getId
public String getId()
setAuthCookie
public void setAuthCookie(String authCookie)
setFeedURI
public void setFeedURI(URI feedURI)
setFeedURL
public void setFeedURL(URL feedURL)
setPassword
public void setPassword(String password)
setUserName
public void setUserName(String userName)
setProperty
public void setProperty(String name,
String value)
- Parameters:
name - cannot be nullvalue - cannot be null
- Throws:
NullPointerException - if either name or value is null
getProperty
public String getProperty(String name)
getProperties
public Properties getProperties()
getAuthCookie
public String getAuthCookie()
getFeedFetcherCache
public com.sun.syndication.fetcher.impl.FeedFetcherCache getFeedFetcherCache()
getFeedURL
public URL getFeedURL()
getPassword
public String getPassword()
getUserName
public String getUserName()
getFeedURI
public URI getFeedURI()
getSyndFeed
public SyndFeed getSyndFeed()
throws com.sun.syndication.fetcher.FetcherException,
FeedException,
IOException
- Throws:
com.sun.syndication.fetcher.FetcherException
FeedException
IOException
retrieveFeed
public SyndFeed retrieveFeed(com.sun.syndication.fetcher.impl.FeedFetcherCache feedInfoCache)
throws IOException,
com.sun.syndication.fetcher.FetcherException,
FeedException
- Throws:
IOException
com.sun.syndication.fetcher.FetcherException
FeedException
getTitle
public String getTitle()
setTitle
public void setTitle(String title)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
clone
public SubscriptionItem clone()
throws CloneNotSupportedException
- Overrides:
clone in class Object
- Throws:
CloneNotSupportedException
© 2009 Pramati Technologies - Dekoh - Portal for Developers