Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIFileURL

Provides access to the underlying nsIFile object corresponding to a URL. The URL scheme need not be file:, since other local protocols may map URLs to files (e.g., resource:).
Inherits from: nsISupports Last changed in Gecko 6.0 (Firefox 6.0 / Thunderbird 6.0 / SeaMonkey 2.3)

Attributes

Attribute Type Description
file nsIFile

Get/Set nsIFile corresponding to this URL. The getter returns a reference to an immutable object. Callers must clone before attempting to modify the returned nsIFile object.

Note: This constraint might not be enforced at runtime, so beware! The setter clones the nsIFile object (allowing the caller to safely modify the nsIFile object after setting it on this interface).

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, Anant
 Last updated by: Sheppy,