public final class FeedUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getFeed(fr.paris.lutece.portal.business.rss.IFeedResource resource,
String strFeedType,
String strEncoding,
int nMaxItems)
Gets an XML for the given resource.
|
static String |
getFeed(fr.paris.lutece.portal.business.rss.IResourceRss resourceRSS)
Gets an XML for the given resource.
|
public static String getFeed(fr.paris.lutece.portal.business.rss.IFeedResource resource, String strFeedType, String strEncoding, int nMaxItems)
resource - resourcestrFeedType - feed typestrEncoding - encodingnMaxItems - max itemspublic static String getFeed(fr.paris.lutece.portal.business.rss.IResourceRss resourceRSS)
resourceRSS - the resourceIResourceRss.getEncoding(). Returns an empty String if no items.
Returns IResourceRss.createHtmlRss() if IResourceRss.getFeed() is not implemented yet.Copyright © 2018 City of Paris. All rights reserved.