You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.

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 |