WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIDirIndexListener

IID:fae4e9a8-1dd1-11b2-b53c-8f3aa1bbf8f5
Inherits From:nsISupports

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)

This interface is implemented by the following components:


Methods

void onIndexAvailable ( nsIRequest request , nsISupports ctxt , nsIDirIndex index ) void onInformationAvailable ( nsIRequest request , nsISupports ctxt , AString info )

void onIndexAvailable ( nsIRequest request , nsISupports ctxt , nsIDirIndex index )

Called for each directory entry

Arguments:
request: - the request
ctxt: - opaque parameter
index: - new index to add

void onInformationAvailable ( nsIRequest request , nsISupports ctxt , AString info )

Called for each information line

Arguments:
request: - the request
ctxt: - opaque parameter
info: - new info to add

References

This interface is the type of the following properties:

nsIDirIndexParser.listener

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com