org.gudy.azureus2.pluginsimpl.local.utils.xml.rss
Class RSSFeedImpl

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.utils.xml.rss.RSSFeedImpl
All Implemented Interfaces:
RSSFeed

public class RSSFeedImpl
extends java.lang.Object
implements RSSFeed

Author:
parg

Constructor Summary
RSSFeedImpl(Utilities utilities, java.net.URL source_url, java.io.InputStream is)
           
RSSFeedImpl(Utilities utilities, java.net.URL source_url, ResourceDownloader downloader)
           
 
Method Summary
 RSSChannel[] getChannels()
          A feed is composed of one (or more?) channels
 boolean isAtomFeed()
          True if this is an Atom feed http://www.w3.org/2005/Atom, RSS otherwise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSSFeedImpl

public RSSFeedImpl(Utilities utilities,
                   java.net.URL source_url,
                   ResourceDownloader downloader)
            throws ResourceDownloaderException,
                   SimpleXMLParserDocumentException
Throws:
ResourceDownloaderException
SimpleXMLParserDocumentException

RSSFeedImpl

public RSSFeedImpl(Utilities utilities,
                   java.net.URL source_url,
                   java.io.InputStream is)
            throws SimpleXMLParserDocumentException
Throws:
SimpleXMLParserDocumentException
Method Detail

isAtomFeed

public boolean isAtomFeed()
Description copied from interface: RSSFeed
True if this is an Atom feed http://www.w3.org/2005/Atom, RSS otherwise

Specified by:
isAtomFeed in interface RSSFeed
Returns:

getChannels

public RSSChannel[] getChannels()
Description copied from interface: RSSFeed
A feed is composed of one (or more?) channels

Specified by:
getChannels in interface RSSFeed
Returns: