Public Attributes

nsIFileURL Interface Reference

nsIFileURL provides access to the underlying nsIFile object corresponding to an URL. More...

import "nsIFileURL.idl";

Inheritance diagram for nsIFileURL:
Collaboration diagram for nsIFileURL:

List of all members.

Public Attributes

attribute nsIFile file
 Get/Set nsIFile corresponding to this URL.

Detailed Description

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:).

Status:
FROZEN

Member Data Documentation

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).

The documentation for this interface was generated from the following file: