This interface represents a file on a file system.
The file system on which the entry resides.
The full absolute path from the root to the entry.
Entry is a directory.
Entry is a file.
The name of the entry, excluding the path leading to it.
Copy an entry to a different location on the file system. It is an error to try to:
Directory copies are always recursive--that is, they copy all contents of the directory.
string
Creates a new FileWriter associated with the file that this FileEntry represents.
A callback that is called with the new FileWriter.
A callback that is called when errors happen.
Returns a File that represents the current state of the file that this FileEntry represents.
A callback that is called with the File.
A callback that is called when errors happen.
Look up metadata about this entry.
A callback that is called with the time of the last modification.
ErrorCallback A callback that is called when errors happen.
Look up the parent DirectoryEntry containing this Entry. If this Entry is the root of its filesystem, its parent is itself.
A callback that is called to return the parent Entry.
A callback that is called when errors happen.
Move an entry to a different location on the file system. It is an error to try to:
A move of a file on top of an existing file must attempt to delete and replace that file. A move of a directory on top of an existing empty directory must attempt to delete and replace that directory.
string
Deletes a file or directory. It is an error to attempt to delete a directory that is not empty. It is an error to attempt to delete the root directory of a filesystem.
A callback that is called on success.
A callback that is called when errors happen.
Returns a URL that can be used to identify this entry. Unlike the URN defined in [FILE-API-ED], it has no specific expiration; as it describes a location on disk, it should be valid at least as long as that location exists.
string