Entry
Summary
An abstract interface representing entries in a file system, each of which may be a File or DirectoryEntry.
Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.
Properties
- filesystem
The file system on which the Entry resides.
Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.
- fullPath
The full absolute path from the root to the Entry.
Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.
- isDirectory
True if the Entry is a directory.
Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.
- isFile
True if the Entry is a file.
Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.
- name
The name of the Entry, excluding the path leading to it.
Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.
Methods
- copyTo
Copy an Entry to a different location on the file system.
Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.
- getMetadata
Look up metadata about this Entry.
Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.
- getParent
Look up the parent DirectoryEntry containing this Entry. If this Entry is the root of its filesystem, its parent is itself.
Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.
- moveTo
Move an Entry to a different location on the file system.
Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.
- remove
Deletes a file or directory.
Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.
- toURL
Returns a URL that can be used to identify this Entry.
Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.
Events
No events.
Related specifications
- W3C File API: Directories and System Specification
- W3C Working Draft