Visit Mozilla.org

nsIFile:isWritable

From MDC

« XPCOM API Reference

[edit] Summary

This method tests whether or not this nsIFile corresponds to a file or directory that may be modified by the user.

 boolean isWritable();

[edit] Return Values

This method returns true if the file or directory may be modified by the user. Otherwise it returns false.

[edit] See Also

nsIFile