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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com