goog.Disposable | |
goog.net.FileDownloader.Download_ | goog.Disposable |
url
: string
The URL for the file being downloaded.
|
downloader
: !goog.net.FileDownloader
The parent FileDownloader.
|
![]()
No description.
|
code » |
![]()
Invokes a callback function when this object is disposed. Callbacks are
invoked in the order in which they were added.
Arguments:
|
code » | |||
![]()
Disposes of the object. If the object hasn't already been disposed of, calls
#disposeInternal . Classes that extend goog.Disposable should
override #disposeInternal in order to delete references to COM
objects, DOM nodes, and other disposable objects. Reentrant.
Returns: void
Nothing.
|
code » | |||
![]()
Deletes or nulls out any references to COM objects, DOM nodes, or other
disposable objects. Classes that extend
goog.Disposable should
override this method.
Not reentrant. To avoid calling it twice, it must only be called from the
subclass' disposeInternal method. Everywhere else the public
dispose method must be used.
For example:
mypackage.MyClass = function() { mypackage.MyClass.base(this, 'constructor'); // Constructor logic specific to MyClass. ... }; goog.inherits(mypackage.MyClass, goog.Disposable); mypackage.MyClass.prototype.disposeInternal = function() { // Dispose logic specific to MyClass. ... // Call superclass's disposeInternal at the end of the subclass's, like // in C++, to avoid hard-to-catch issues. mypackage.MyClass.base(this, 'disposeInternal'); }; |
code » | |||
Use
#isDisposed instead.
No description.
Returns: boolean
Whether the object has been disposed of.
|
code » | |||
No description.
Returns: boolean
Whether the object has been disposed of.
|
code » | |||
![]()
Associates a disposable object with this object so that they will be disposed
together.
Arguments:
|
code » |
![]()
The downloaded blob. Only set once the XHR has completed, if it completed
successfully.
|
Code » | |
![]()
Whether this download has been cancelled by the user.
|
Code » | |
![]()
No description.
|
Code » | |
The Deferred that will be fired when the download is complete.
|
Code » | |
The file entry where the blob is to be stored. Only set once it's been
loaded from the filesystem.
|
Code » | |
![]()
The name of the blob being downloaded. Only sey once the XHR has completed,
if it completed successfully.
|
Code » | |
![]()
The URL for the file being downloaded.
|
Code » | |
The file writer for writing the blob to the filesystem. Only set once it's
been loaded from the filesystem.
|
Code » | |
The XhrIo object for downloading the file. Only set once it's been
retrieved from the pool.
|
Code » |
![]()
No description.
|
Code » |