This is an archived page. It's not actively maintained.


An object returned by the nsIToolkitProfile.lock method; as long as you hold a reference to the object, the profile remains locked.
Inherits from: nsISupports Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)

Method overview

void unlock();


Attribute Type Description
directory nsILocalFile The main profile directory. Read only.
localDirectory nsILocalFile

A directory corresponding to the main profile directory, which exists for the purpose of storing data on the local filesystem, including cache files or other data files that may not represent critical user data. (for example, this directory may not be included as part of a backup scheme.)

In some cases, this directory may just be the main profile directory. Read only.



Unlocks the profile.

void unlock();


Exceptions thrown
The profile isn't locked.

See also