goog.fs.Entry
Provided By | |
---|---|
All Known Subinterfaces | |
All Known Implementations |
The interface for entries in the filesystem.
Instance Methods
this.copyTo( parent, opt_newName ) → goog.async.Deferred
goog.async.Deferred
Copy this entry to a new location.
Parameters |
| ||||||||
---|---|---|---|---|---|---|---|---|---|
Returns |
|
this.getFileSystem() → goog.fs.FileSystem
goog.fs.FileSystem
Parameters | None. | ||
---|---|---|---|
Returns |
|
this.getFullPath() → string
string
Parameters | None. | ||
---|---|---|---|
Returns |
|
this.getLastModified() → goog.async.Deferred
goog.async.Deferred
Retrieves the last modified date for this entry.
Parameters | None. | ||
---|---|---|---|
Returns |
|
this.getMetadata() → goog.async.Deferred
goog.async.Deferred
Retrieves the metadata for this entry.
Parameters | None. | ||
---|---|---|---|
Returns |
|
this.getName() → string
string
Parameters | None. | ||
---|---|---|---|
Returns |
|
this.getParent() → goog.async.Deferred
goog.async.Deferred
Gets the parent directory.
Parameters | None. | ||
---|---|---|---|
Returns |
|
this.isDirectory() → boolean
boolean
Parameters | None. | ||
---|---|---|---|
Returns |
|
this.isFile() → boolean
boolean
Parameters | None. | ||
---|---|---|---|
Returns |
|
this.moveTo( parent, opt_newName ) → goog.async.Deferred
goog.async.Deferred
Move this entry to a new location.
Parameters |
| ||||||||
---|---|---|---|---|---|---|---|---|---|
Returns |
|
this.remove() → goog.async.Deferred
goog.async.Deferred
Remove this entry.
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.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|