public interface FileEntrySync extends EntrySync
The FileEntrySync
interface of the FileSystem API represents a file in a file system.
Modifier and Type | Method and Description |
---|---|
FileWriterSync |
createWriter()
Creates a new
FileWriter associated with the file that the FileEntry represents. |
File |
file()
Returns a File that represents the current state of the file that this
FileEntry represents. |
copyTo, getFilesystem, getFullPath, getMetadata, getName, getParent, isDirectory, isFile, moveTo, remove, toURL
FileWriterSync createWriter()
Creates a new FileWriter
associated with the file that the FileEntry
represents.
void createWriter ( in FileWriterCallback successCallback, optional ErrorCallback errorCallback );
FileWriter
.void
File file()
Returns a File that represents the current state of the file that this FileEntry
represents.
void file ( FileCallback successCallback, optional ErrorCallback errorCallback );
FileWriter
.void
Copyright © 2018. All rights reserved.