public interface FeedProcessor
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
process(String feedUrl,
String feedXml,
boolean getSummaries,
int numEntries)
Converts feed XML to JSON.
|
JSONObject process(String feedUrl, String feedXml, boolean getSummaries, int numEntries) throws GadgetException
feedUrl - The url that the feed was retrieved from.feedXml - The raw XML of the feed to be converted.getSummaries - True if summaries should be returned.numEntries - Number of entries to return.GadgetExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.