public class DownloadByteArrayResult extends RemoteFileResult
cancelled, remoteFileName
DEFAULT_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, isCancelled
getMinTransferNotifyPeriod, getNotifyInterval, setMinTransferNotifyPeriod, setNotifyInterval
cancelTask, endAsyncCalled, endAsyncInternal, getClient, getLocalContext, getTag, getTask, getTaskDescription, getTaskId, getThrowable, isCompleted, isSuccessful, notifyComplete, setAsIfCompleted, setClient, setEndAsyncCalled, setLocalContext, setSuccessful, setTag, setTask, setThrowable, waitTillComplete
public DownloadByteArrayResult(java.lang.String remoteFileName)
context
- direction
- append
- filename
- public byte[] endAsync() throws java.io.IOException, FTPException
java.io.IOException
FTPException
public byte[] getResult()
public void setResult(byte[] result)
result
- byte arrayCopyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.