Dekoh platform API

dekoh.portal.syndication.aggregator.core
Class SubscriptionItem

java.lang.Object
  extended by dekoh.portal.syndication.aggregator.core.SubscriptionItem
All Implemented Interfaces:
Cloneable

public class SubscriptionItem
extends Object
implements Cloneable

Since:
Oct 8, 2007

Constructor Summary
SubscriptionItem(URI feeduri)
           
SubscriptionItem(URI feeduri, String authCookie)
           
SubscriptionItem(URI feeduri, String userName, String password)
           
 
Method Summary
 SubscriptionItem clone()
           
 boolean equals(Object o)
           
 String getAuthCookie()
           
 com.sun.syndication.fetcher.impl.FeedFetcherCache getFeedFetcherCache()
           
 URI getFeedURI()
           
 URL getFeedURL()
           
 String getId()
           
 String getPassword()
           
 Properties getProperties()
           
 String getProperty(String name)
           
 SyndFeed getSyndFeed()
           
 String getTitle()
           
 String getUserName()
           
 int hashCode()
           
 SyndFeed retrieveFeed(com.sun.syndication.fetcher.impl.FeedFetcherCache feedInfoCache)
           
 void setAuthCookie(String authCookie)
           
 void setFeedURI(URI feedURI)
           
 void setFeedURL(URL feedURL)
           
 void setPassword(String password)
           
 void setProperty(String name, String value)
           
 void setTitle(String title)
           
 void setUserName(String userName)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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 null
value - 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

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers