goog.fs.FileEntry
Classgoog.fs.FileEntry
> goog.fs.Entry
goog.fs.FileEntry(fs, file)
A file in a local filesystem. This should not be instantiated directly. Instead, it should be accessed via {@link goog.fs.DirectoryEntry#getDirectoryEntry}.
fs
{!goog.fs.FileSystem
}
file
{!FileEntry
}
.copyTo(parent, opt_newName)
Inherited from goog.fs.Entry
.
Copy this entry to a new location.
parent
{!goog.fs.DirectoryEntry
}
opt_newName
{string
=}
goog.async.Deferred
}
.createWriter()
Create a writer for writing to the file.
goog.async.Deferred
}
.file()
Get the file contents as a File blob.
goog.async.Deferred
}
.getFileSystem()
Inherited from goog.fs.Entry
.
goog.fs.FileSystem
}
.getFullPath()
Inherited from goog.fs.Entry
.
string
}
.getLastModified()
Inherited from goog.fs.Entry
.
Retrieves the last modified date for this entry.
goog.async.Deferred
}
.getMetadata()
Inherited from goog.fs.Entry
.
Retrieves the metadata for this entry.
goog.async.Deferred
}
.getName()
Inherited from goog.fs.Entry
.
string
}
.getParent()
Inherited from goog.fs.Entry
.
Gets the parent directory.
goog.async.Deferred
}
.isDirectory()
Inherited from goog.fs.Entry
.
boolean
}
.isFile()
Inherited from goog.fs.Entry
.
boolean
}
.moveTo(parent, opt_newName)
Inherited from goog.fs.Entry
.
Move this entry to a new location.
parent
{!goog.fs.DirectoryEntry
}
opt_newName
{string
=}
goog.async.Deferred
}
.remove()
Inherited from goog.fs.Entry
.
Remove this entry.
goog.async.Deferred
}
.toUri
[deprecated]Deprecated. Use {@link #toUrl} instead.
Inherited from goog.fs.Entry
.
Get the URI for this file.
opt_mimeType
{string
=}
string
}
.toUrl(opt_mimeType)
Inherited from goog.fs.Entry
.
Get the URL for this file.
opt_mimeType
{string
=}
string
}
.wrapEntry(entry)
[protected]Inherited from goog.fs.Entry
.
Wrap an HTML5 entry object in an appropriate subclass instance.
entry
{!Entry
}
goog.fs.Entry
}