public class RssContentLoader extends Object implements fr.paris.lutece.portal.service.resource.ResourceLoader
| Constructor and Description |
|---|
RssContentLoader() |
| Modifier and Type | Method and Description |
|---|---|
static String |
fetchAllRssFeeds()
Fetch all feeds
|
static String |
fetchRssFeed(int nId)
Fetch an active RSS feed
|
fr.paris.lutece.portal.service.resource.Resource |
getResource(String strId)
Implementation of the ResourceLoader interface
|
Collection |
getResources()
Implementation of the ResourceLoader interface
|
public Collection getResources()
getResources in interface fr.paris.lutece.portal.service.resource.ResourceLoaderpublic fr.paris.lutece.portal.service.resource.Resource getResource(String strId)
getResource in interface fr.paris.lutece.portal.service.resource.ResourceLoaderstrId - The resource Idpublic static String fetchRssFeed(int nId) throws RssParsingException
nId - The RSS feed IdRssParsingException - If a parsing exception occurspublic static String fetchAllRssFeeds()
Copyright © 2015 City of Paris. All rights reserved.