Class BackgroundTransfer.Transfer
java.lang.Object
com.codename1.io.BackgroundTransfer.Transfer
- Enclosing class:
BackgroundTransfer
A transfer started by
#download or #upload.-
Method Summary
-
Method Details
-
getUrl
The remote URL.
Returns
the URL
-
getPath
The local file path.
Returns
the
FileSystemStoragepath -
isUpload
public boolean isUpload()True for an upload.
Returns
true for an upload, false for a download
-
isDone
public boolean isDone()True once the transfer completed, failed or was cancelled.
Returns
true when finished
-
cancel
public void cancel()Cancels the transfer. The listener getsonCompletewith false.
-