Class RSSFeedImpl
- java.lang.Object
-
- com.biglybt.pifimpl.local.utils.xml.rss.RSSFeedImpl
-
-
Field Summary
Fields Modifier and Type Field Description private RSSChannel[]
channels
private boolean
is_atom
-
Constructor Summary
Constructors Constructor Description RSSFeedImpl(Utilities utilities, java.net.URL source_url, ResourceDownloader downloader)
RSSFeedImpl(Utilities utilities, java.net.URL source_url, java.io.InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RSSChannel[]
getChannels()
A feed is composed of one (or more?) channelsboolean
isAtomFeed()
True if this is an Atom feed http://www.w3.org/2005/Atom, RSS otherwise
-
-
-
Field Detail
-
is_atom
private boolean is_atom
-
channels
private RSSChannel[] channels
-
-
Constructor Detail
-
RSSFeedImpl
public RSSFeedImpl(Utilities utilities, java.net.URL source_url, ResourceDownloader downloader) 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 interfaceRSSFeed
- Returns:
-
getChannels
public RSSChannel[] getChannels()
Description copied from interface:RSSFeed
A feed is composed of one (or more?) channels- Specified by:
getChannels
in interfaceRSSFeed
- Returns:
-
-