// org.openoffice.rssreader.XBungeniRSSReader: public String OpenFeed(String feedURL) { // TODO !!! // Exchange the default return implementation. // NOTE: Default initialized polymorphic structs can cause problems // because of missing default initialization of primitive types of // some C++ compilers or different Any initialization in Java and C++ // polymorphic structs. String warmedFeed = ""; try { java.net.URL obj = new URL(feedURL); m_rssParser = new RssParser(obj); // System.out.println("parsing feed"); m_rssParser.parseFeed(); // System.out.println("printing feed"); } catch (Exception ex) { java.util.logging.Logger.getLogger("global") .log(java.util.logging.Level.ALL, ex.getMessage(), ex); } finally { return warmedFeed; } }
public org.openoffice.rssreader.BungeniRssRecord[] RssRecords() { return m_rssParser.rssRecords(); }
public org.openoffice.rssreader.BungeniRssHeader RssHeader() { return m_rssParser.rssHeader(); }