nsIDirIndexListener

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 and so on)
Inherits from: nsISupports Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)

Method overview

void onIndexAvailable(in nsIRequest aRequest, in nsISupports aCtxt, in nsIDirIndex aIndex);
void onInformationAvailable(in nsIRequest aRequest, in nsISupports aCtxt, in AString aInfo);

Methods

onIndexAvailable()

Called for each directory entry.

void onIndexAvailable(
  in nsIRequest aRequest,
  in nsISupports aCtxt,
  in nsIDirIndex aIndex
);
Parameters
aRequest
The request.
aCtxt
Opaque parameter
aIndex
New index to add.

onInformationAvailable()

Called for each information line.

void onInformationAvailable(
  in nsIRequest aRequest,
  in nsISupports aCtxt,
  in AString aInfo
);
Parameters
aRequest
The request.
aCtxt
Opaque parameter
aInfo
New info to add.