fr.paris.lutece.plugins.myportal.modules.rss.service
Class RssWidgetService

java.lang.Object
  extended by fr.paris.lutece.portal.service.cache.AbstractCacheableService
      extended by fr.paris.lutece.plugins.myportal.modules.rss.service.RssWidgetService
All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService, fr.paris.lutece.portal.service.util.LuteceService, java.lang.Cloneable, net.sf.ehcache.event.CacheEventListener

public class RssWidgetService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService

Rss Widget Service


Method Summary
static java.lang.String fetchRssFeed(java.lang.String strUrl)
          Fetch a RSS feed
 java.lang.String getName()
          
 java.lang.String getRssFeed(java.lang.String strUrl)
           
static RssWidgetService instance()
           
 
Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, resetCache
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()


instance

public static RssWidgetService instance()

getRssFeed

public java.lang.String getRssFeed(java.lang.String strUrl)

fetchRssFeed

public static java.lang.String fetchRssFeed(java.lang.String strUrl)
Fetch a RSS feed

Parameters:
strUrl - The RSS feed Id
Returns:
The content of the RSS feed


Copyright © 2012 Mairie de Paris. All Rights Reserved.