public final class FeedTypeManager extends Object
| Constructor and Description |
|---|
FeedTypeManager() |
| Modifier and Type | Method and Description |
|---|---|
static FeedTypeManager |
getManager()
Get the instance of the manager
|
com.sun.syndication.feed.WireFeed |
getWireFeed(String strFeedType,
fr.paris.lutece.portal.business.rss.IFeedResource resource,
String strEncoding,
int nMaxItems)
Get the wire feed
|
void |
setDefaultProvidersList(List<IFeedTypeProvider> listDefaultProviders)
Set the default providers list
|
void |
setProvidersList(List<IFeedTypeProvider> listProviders)
Set the list of providers
|
public static FeedTypeManager getManager()
public void setProvidersList(List<IFeedTypeProvider> listProviders)
listProviders - the list of providerspublic void setDefaultProvidersList(List<IFeedTypeProvider> listDefaultProviders)
listDefaultProviders - the default providers listpublic com.sun.syndication.feed.WireFeed getWireFeed(String strFeedType, fr.paris.lutece.portal.business.rss.IFeedResource resource, String strEncoding, int nMaxItems)
strFeedType - the feed typeresource - the resourcestrEncoding - the encodingnMaxItems - the max itemsCopyright © 2018 City of Paris. All rights reserved.