nsIStreamListener
Last changed in Gecko 1.8.1 (Firefox 2 / Thunderbird 2 / SeaMonkey 1.1)Implemented by: @mozilla.org/feed-processor;1
. To create an instance, use:
var feedProcessor = Components.classes["@mozilla.org/feed-processor;1"] .createInstance(Components.interfaces.nsIFeedProcessor);
void parseAsync(in nsIRequestObserver requestObserver, in nsIURI uri); |
void parseFromStream(in nsIInputStream stream, in nsIURI uri); |
void parseFromString(in AString str, in nsIURI uri); |
Attribute | Type | Description |
listener |
|
The feed result listener that will respond to feed events. |
Parses a feed asynchronously. The caller must then call the processor's nsIStreamListener
methods to drive the parsing process. You must not call any of the other parsing methods on the nsIFeedProcessor
interface during an asynchronous parse.
void parseAsync( in nsIRequestObserver requestObserver, in nsIURI uri );
requestObserver
null
.uri
Parses a feed from an nsIInputStream
.
void parseFromStream( in nsIInputStream stream, in nsIURI uri );
stream
nsIInputStream
from which to read and parse the feed.uri
Parses a feed from an AString
.
void parseFromString( in AString str, in nsIURI uri );
str
uri
Interwiki link