Firefox Tomorrow

web api interface

FileSystemFileEntry

View on MDN ↗

The FileSystemFileEntry interface of the File and Directory Entries API represents a file in a file system. It offers properties describing the file’s attributes, as well as the file() method, which creates a File object that can be used to read the file.

Instance properties

Inherits the properties of its parent interface, FileSystemEntry, but has no properties unique to this interface.

Instance methods

  • createWriter() Deprecated
    • : Returns a FileWriter object which can be used to write data into the file represented by the directory entry.
  • file()
    • : Creates a new File object which can be used to read the file.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also