Visit Mozilla.org

nsIFile:isReadable

From MDC

« XPCOM API Reference

[edit] Summary

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

 boolean isReadable();

[edit] Return Values

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

[edit] See Also

nsIFile