Implemented by
- @mozilla.org/streamconv;1?from=application/http-index-format&to=text/html
- @mozilla.org/browser/httpindex-service;1
- @mozilla.org/rdf/datasource;1?name=httpindex
This interface is used to receive contents of directory index listings from a protocol. They can then be transformed into an output format (such as rdf, html, etc)
[scriptable, uuid(fae4e9a8-1dd1-11b2-b53c-8f3aa1bbf8f5)]
interface nsIDirIndexListener : nsISupports
Methods
Called for each directory entry @param request - the request @param ctxt - opaque parameter @param index - new index to add
void
onIndexAvailable(in nsIRequest aRequest, in nsISupports aCtxt, in nsIDirIndex aIndex)
Called for each information line @param request - the request @param ctxt - opaque parameter @param info - new info to add
void
onInformationAvailable(in nsIRequest aRequest, in nsISupports aCtxt, in AString aInfo)
Compare to: