Class RSSFeedImpl
java.lang.Object
com.biglybt.pifimpl.local.utils.xml.rss.RSSFeedImpl
- All Implemented Interfaces:
RSSFeed
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRSSFeedImpl
(Utilities utilities, URL source_url, ResourceDownloader downloader) RSSFeedImpl
(Utilities utilities, URL source_url, InputStream is) -
Method Summary
Modifier and TypeMethodDescriptionA feed is composed of one (or more?) channelsboolean
True if this is an Atom feed http://www.w3.org/2005/Atom, RSS otherwise
-
Field Details
-
is_atom
private boolean is_atom -
channels
-
-
Constructor Details
-
RSSFeedImpl
public RSSFeedImpl(Utilities utilities, URL source_url, ResourceDownloader downloader) throws ResourceDownloaderException, SimpleXMLParserDocumentException -
RSSFeedImpl
public RSSFeedImpl(Utilities utilities, URL source_url, InputStream is) throws SimpleXMLParserDocumentException - Throws:
SimpleXMLParserDocumentException
-
-
Method Details
-
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
Description copied from interface:RSSFeed
A feed is composed of one (or more?) channels- Specified by:
getChannels
in interfaceRSSFeed
- Returns:
-