goog.fs.FileEntryImpl
Provided By | |
---|---|
Extends | |
All Implemented Interfaces |
A file in a local filesystem.
This should not be instantiated directly. Instead, it should be accessed via
goog.fs.DirectoryEntry#getFile
.
new FileEntryImpl( fs, file )
Parameters |
|
---|
Instance Methods
this.copyTo( parent, opt_newName ) → goog.async.Deferred
goog.async.Deferred
Copy this entry to a new location.
Overrides | |||||||||
---|---|---|---|---|---|---|---|---|---|
Specified by | |||||||||
Parameters |
| ||||||||
Returns |
|
this.createWriter() → goog.async.Deferred<goog.fs.FileWriter>
goog.async.Deferred<goog.fs.FileWriter>
Create a writer for writing to the file.
Specified by | |||
---|---|---|---|
Parameters | None. | ||
Returns |
|
this.file() → goog.async.Deferred<File>
goog.async.Deferred<File>
Get the file contents as a File blob.
Specified by | |||
---|---|---|---|
Parameters | None. | ||
Returns |
|
this.getFileSystem() → goog.fs.FileSystem
goog.fs.FileSystem
Overrides | |||
---|---|---|---|
Specified by | |||
Parameters | None. | ||
Returns |
|
this.getFullPath() → string
string
Overrides | |||
---|---|---|---|
Specified by | |||
Parameters | None. | ||
Returns |
|
this.getLastModified() → goog.async.Deferred
goog.async.Deferred
Retrieves the last modified date for this entry.
Overrides | |||
---|---|---|---|
Specified by | |||
Parameters | None. | ||
Returns |
|
this.getMetadata() → goog.async.Deferred
goog.async.Deferred
Retrieves the metadata for this entry.
Overrides | |||
---|---|---|---|
Specified by | |||
Parameters | None. | ||
Returns |
|
this.getName() → string
string
Overrides | |||
---|---|---|---|
Specified by | |||
Parameters | None. | ||
Returns |
|
this.getParent() → goog.async.Deferred
goog.async.Deferred
Gets the parent directory.
Overrides | |||
---|---|---|---|
Specified by | |||
Parameters | None. | ||
Returns |
|
this.isDirectory() → boolean
boolean
Overrides | |||
---|---|---|---|
Specified by | |||
Parameters | None. | ||
Returns |
|
this.isFile() → boolean
boolean
Overrides | |||
---|---|---|---|
Specified by | |||
Parameters | None. | ||
Returns |
|
this.moveTo( parent, opt_newName ) → goog.async.Deferred
goog.async.Deferred
Move this entry to a new location.
Overrides | |||||||||
---|---|---|---|---|---|---|---|---|---|
Specified by | |||||||||
Parameters |
| ||||||||
Returns |
|
this.remove() → goog.async.Deferred
goog.async.Deferred
Remove this entry.
Overrides | |||
---|---|---|---|
Specified by | |||
Parameters | None. | ||
Returns |
|
this.toUri( opt_mimeType ) → string
string
this.toUrl( opt_mimeType ) → string
string
this.wrapEntry( entry ) → goog.fs.Entry
goog.fs.Entry
Wrap an HTML5 entry object in an appropriate subclass instance.
Overrides | |||||
---|---|---|---|---|---|
Specified by | |||||
Parameters |
| ||||
Returns |
|