Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIDirectoryServiceProvider2 Interface Reference

nsIDirectoryServiceProvider2 More...

import "nsIDirectoryService.idl";

Inheritance diagram for nsIDirectoryServiceProvider2:
Inheritance graph
Collaboration diagram for nsIDirectoryServiceProvider2:
Collaboration graph

List of all members.

Public Member Functions

nsISimpleEnumerator getFiles (in string prop)
nsIFile getFile (in string prop, out PRBool persistent)

Detailed Description


An extension of nsIDirectoryServiceProvider which allows multiple files to be returned for the given key.


Definition at line 81 of file nsIDirectoryService.idl.

Member Function Documentation

nsIFile nsIDirectoryServiceProvider::getFile ( in string  prop,
out PRBool  persistent 
) [inherited]


Directory Service calls this when it gets the first request for a prop or on every request if the prop is not persistent.

propThe symbolic name of the file.
persistentTRUE - The returned file will be cached by Directory Service. Subsequent requests for this prop will bypass the provider and use the cache. FALSE - The provider will be asked for this prop each time it is requested.
The file represented by the property.


Directory Service calls this when it gets a request for a prop and the requested type is nsISimpleEnumerator.

propThe symbolic name of the file list.
An enumerator for a list of file locations. The elements in the enumeration are nsIFile NS_SUCCESS_AGGREGATE_RESULT if this result should be aggregated with other "lower" providers.

The documentation for this interface was generated from the following file: