title | slug | page-type | browser-compat |
---|---|---|---|
FileSystemFileEntry |
Web/API/FileSystemFileEntry |
web-api-interface |
api.FileSystemFileEntry |
{{APIRef("File and Directory Entries API")}}
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 {{domxref("FileSystemFileEntry.file", "file()")}} method, which creates a {{domxref("File")}} object that can be used to read the file.
{{InheritanceDiagram}}
Inherits the properties of its parent interface, {{domxref("FileSystemEntry")}}, but has no properties unique to this interface.
- {{domxref("FileSystemFileEntry.createWriter", "createWriter()")}} {{deprecated_inline}} {{non-standard_inline}}
- : Returns a {{domxref("FileWriter")}} object which can be used to write data into the file represented by the directory entry.
- {{domxref("FileSystemFileEntry.file", "file()")}}
- : Creates a new {{domxref("File")}} object which can be used to read the file.
{{Specifications}}
{{Compat}}