public class UploadByteArrayResult extends RemoteFileResult
cancelled, remoteFileNameDEFAULT_NOTIFY_INTERVAL| Constructor and Description |
|---|
UploadByteArrayResult(byte[] bytes,
java.lang.String remoteFileName,
WriteMode writeMode)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endAsync()
This method is called to complete the asynchronous operation.
|
byte[] |
getLocalBytes()
Get the local bytes.
|
WriteMode |
getWriteMode()
What write mode is this operation?
|
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 UploadByteArrayResult(byte[] bytes,
java.lang.String remoteFileName,
WriteMode writeMode)
bytes - source bytesremoteFileName - remote file's nameappend - true if appending to remote filepublic WriteMode getWriteMode()
public byte[] getLocalBytes()
public void endAsync()
throws java.io.IOException,
FTPException
java.io.IOExceptionFTPExceptionCopyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.