goog.fs.Entry | |
goog.fs.FileEntry | goog.fs.Entry |
Create a writer for writing to the file.
Returns: !goog.async.Deferred.<!goog.fs.FileWriter>
If an error occurs, the
errback is called with a
goog.fs.Error .
|
code » | |
Get the file contents as a File blob.
Returns: !goog.async.Deferred.<!File>
If an error occurs, the errback is
called with a
goog.fs.Error .
|
code » |
Copy this entry to a new location.
Arguments:
Returns: !goog.async.Deferred
The deferred
goog.fs.FileEntry or
goog.fs.DirectoryEntry for the new entry. If an error occurs, the
errback is called with a goog.fs.Error .
|
code » | |||
No description.
Returns: !goog.fs.FileSystem
The filesystem backing this entry.
|
code » | |||
No description.
Returns: string
The full path to this entry.
|
code » | |||
Retrieves the last modified date for this entry.
Returns: !goog.async.Deferred
The deferred Date for this entry. If an error
occurs, the errback is called with a
goog.fs.Error .
|
code » | |||
Retrieves the metadata for this entry.
Returns: !goog.async.Deferred
The deferred Metadata for this entry. If an
error occurs, the errback is called with a
goog.fs.Error .
|
code » | |||
No description.
Returns: string
The name of this entry.
|
code » | |||
Gets the parent directory.
Returns: !goog.async.Deferred
The deferred
goog.fs.DirectoryEntry .
If an error occurs, the errback is called with a goog.fs.Error .
|
code » | |||
No description.
Returns: boolean
Whether or not this entry is a directory.
|
code » | |||
No description.
Returns: boolean
Whether or not this entry is a file.
|
code » | |||
Move this entry to a new location.
Arguments:
Returns: !goog.async.Deferred
The deferred
goog.fs.FileEntry or
goog.fs.DirectoryEntry for the new entry. If an error occurs, the
errback is called with a goog.fs.Error .
|
code » | |||
Remove this entry.
Returns: !goog.async.Deferred
A deferred object. If the removal succeeds,
the callback is called with true. If an error occurs, the errback is
called a
goog.fs.Error .
|
code » | |||
Use
#toUrl instead.
Get the URI for this file.
Arguments:
Returns: string
The URI.
|
code » | |||
Get the URL for this file.
Arguments:
Returns: string
The URL.
|
code » | |||
Wrap an HTML5 entry object in an appropriate subclass instance.
Arguments:
Returns: !goog.fs.Entry
The appropriate subclass wrapper.
|
code » |