Use
goog.fs.FileReader.readAsText instead.
Converts a Blob or a File into a string. This should only be used when the
blob is known to be small.
Arguments:
Returns: !goog.async.Deferred
The deferred string. If an error occurrs, the
errback is called with a
goog.fs.Error .
|
code » | ||||
Checks whether this browser supports Object Urls. If not, calls to
createObjectUrl and revokeObjectUrl will result in an error.
Returns: boolean
True if this browser supports Object Urls.
|
code » | ||||
Creates a blob URL for a blob object.
Throws an error if the browser does not support Object Urls.
Arguments:
Returns: string
The URL for the object.
|
code » | ||||
![]()
Finds the object that has the createObjectURL and revokeObjectURL functions
for this browser.
Returns: ?goog.fs.UrlObject_
The object for this browser or null if the
browser does not support Object Urls.
|
code » | ||||
![]()
Concatenates one or more values together and converts them to a Blob.
Arguments:
Returns: !Blob
The blob.
|
code » | ||||
![]()
Creates a blob with the given properties.
See https://developer.mozilla.org/en-US/docs/Web/API/Blob for more details.
|
code » | ||||
Returns a persistent FileSystem object. A persistent filesystem will never be
deleted without the user's or application's authorization.
Arguments:
Returns: !goog.async.Deferred
The deferred
goog.fs.FileSystem . If an
error occurs, the errback is called with a goog.fs.Error .
|
code » | ||||
Returns a temporary FileSystem object. A temporary filesystem may be deleted
by the user agent at its discretion.
Arguments:
Returns: !goog.async.Deferred
The deferred
goog.fs.FileSystem . If an
error occurs, the errback is called with a goog.fs.Error .
|
code » | ||||
![]()
Get the object that has the createObjectURL and revokeObjectURL functions for
this browser.
Returns: goog.fs.UrlObject_
The object for this browser.
|
code » | ||||
Get a wrapped FileSystem object.
Arguments:
Returns: !goog.async.Deferred
The deferred
goog.fs.FileSystem . If an
error occurs, the errback is called with a goog.fs.Error .
|
code » | ||||
![]()
Revokes a URL created by
goog.fs.createObjectUrl .
Throws an error if the browser does not support Object Urls.
Arguments:
|
code » | ||||
![]()
Slices the blob. The returned blob contains data from the start byte
(inclusive) till the end byte (exclusive). Negative indices can be used
to count bytes from the end of the blob (-1 == blob.size - 1). Indices
are always clamped to blob range. If end is omitted, all the data till
the end of the blob is taken.
Arguments:
Returns: Blob
The blob slice or null if not supported.
|
code » |