fr.paris.lutece.plugins.rss.service.type
Interface IFeedTypeProvider

All Known Implementing Classes:
AbstractAtomFeedTypeProvider, AbstractFeedTypeProvider, AbstractRssFeedTypeProvider, DefaultAtomFeedTypeProvider, DefaultRssFeedTypeProvider, Rss09FeedTypeProvider

public interface IFeedTypeProvider

IRssFeedType


Method Summary
 com.sun.syndication.feed.WireFeed getWireFeed(java.lang.String strFeedType, fr.paris.lutece.portal.business.rss.IFeedResource resource, java.lang.String strEncoding, int nMaxItems)
          Get the wire feed
 boolean isInvoked(java.lang.String strFeedType)
          Check if the provider is invoked
 

Method Detail

isInvoked

boolean isInvoked(java.lang.String strFeedType)
Check if the provider is invoked

Parameters:
strFeedType - the feed type
Returns:
true if the provider is invoked, false otherwise

getWireFeed

com.sun.syndication.feed.WireFeed getWireFeed(java.lang.String strFeedType,
                                              fr.paris.lutece.portal.business.rss.IFeedResource resource,
                                              java.lang.String strEncoding,
                                              int nMaxItems)
Get the wire feed

Parameters:
strFeedType - the feed type
resource - the resource
strEncoding - the encoding
nMaxItems - the max number of items
Returns:
a WireFeed


Copyright © 2011 Mairie de Paris. All Rights Reserved.