FileSystemFileEntry
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 Non-standard-
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
Specification |
---|
File and Directory Entries API # api-fileentry |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
FileSystemFileEntry | ||||||||||||
createWriter | ||||||||||||
file |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Non-standard. Check cross-browser support before using.
- Deprecated. Not for use in new websites.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.