public class DownloadByteArrayResult extends RemoteFileResult
cancelled, remoteFileNameDEFAULT_NOTIFY_INTERVAL| Constructor and Description |
|---|
DownloadByteArrayResult(java.lang.String remoteFileName) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
endAsync()
This method is called to complete the asynchronous operation.
|
byte[] |
getResult()
Get byte array that was downloaded
|
void |
setResult(byte[] result)
Set the byte array that was downloaded
|
addProgressMonitor, getRemoteFileName, isCancelledgetMinTransferNotifyPeriod, getNotifyInterval, setMinTransferNotifyPeriod, setNotifyIntervalcancelTask, endAsyncCalled, endAsyncInternal, getClient, getLocalContext, getTag, getTask, getTaskDescription, getTaskId, getThrowable, isCompleted, isSuccessful, notifyComplete, setAsIfCompleted, setClient, setEndAsyncCalled, setLocalContext, setSuccessful, setTag, setTask, setThrowable, waitTillCompletepublic DownloadByteArrayResult(java.lang.String remoteFileName)
context - direction - append - filename - public byte[] endAsync()
throws java.io.IOException,
FTPException
java.io.IOExceptionFTPExceptionpublic byte[] getResult()
public void setResult(byte[] result)
result - byte arrayCopyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.