nsIFileURL provides access to the underlying nsIFile object corresponding to an URL. The URL scheme need not be file:, since other local protocols may map URLs to files (e.g., resource:).
An object of this interface should be created in the following way:
Get/Set nsIFile corresponding to this URL.
- 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!!
- Setter clones the nsIFile object (allowing the caller to safely modify the nsIFile object after setting it on this interface).
This interface is the type of the following properties:
Reference documentation is generated from Mozilla's source.