public class UploadByteArrayResult extends RemoteFileResult
cancelled, remoteFileName
DEFAULT_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, 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 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.IOException
FTPException
Copyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.