
nsIFileURL
This interface provides access to the underlying
nsIFileobject corresponding to a URL. The URL scheme need not be file:// since other local protocols may map URLs to files (e.g., resource://). It was extracted fromnsIFileChannel.idl.It is scriptable.Gets and sets the
nsIFilecorresponding to this URL. The getter returns a reference to an immutable object. Callers must clone before attempting to modify the returnednsIFileobject.Note: This constraint might not be enforced at runtime, so beware!!
The setter clones the
nsIFileobject (allowing the caller to safely modify thensIFileobject after setting it on this interface).
| Written by:Ellen Evans | Comments, questions, complaints?
Bug 143387 |