public class CreateDirectoryResult extends AsyncResult
| Constructor and Description |
|---|
CreateDirectoryResult(java.lang.String newDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
endAsync()
This method is called to complete the asynchronous operation.
|
java.lang.String |
getDirectory()
Get the name of the directory that was requested.
|
java.lang.String |
getRemoteDirectory()
Get current working directory on the server after the change in directory
This value will be null if the operation failed.
|
void |
setRemoteDirectory(java.lang.String remoteDirectory)
Set the current working directory on the server
|
cancelTask, endAsyncCalled, endAsyncInternal, getClient, getLocalContext, getTag, getTask, getTaskDescription, getTaskId, getThrowable, isCompleted, isSuccessful, notifyComplete, setAsIfCompleted, setClient, setEndAsyncCalled, setLocalContext, setSuccessful, setTag, setTask, setThrowable, waitTillCompletepublic void endAsync()
throws FTPException,
java.io.IOException
java.io.IOExceptionFTPExceptionpublic java.lang.String getDirectory()
public java.lang.String getRemoteDirectory()
public void setRemoteDirectory(java.lang.String remoteDirectory)
remoteDirectory - new working directoryCopyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.