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