public class DirectoryListResult extends AsyncResult
Constructor and Description |
---|
DirectoryListResult(java.lang.String directory) |
Modifier and Type | Method and Description |
---|---|
FTPFile[] |
endAsync()
This method is called to complete the asynchronous operation.
|
FTPFile[] |
getListing()
Get the listing that has been returned
|
java.lang.String |
getRemoteDirectory()
Get the name of the listed directory
|
void |
setListing(FTPFile[] array)
Set the listing that has been returned
|
void |
setRemoteDirectory(java.lang.String remoteDirectory)
Set the name of the listed directory
|
cancelTask, endAsyncCalled, endAsyncInternal, getClient, getLocalContext, getTag, getTask, getTaskDescription, getTaskId, getThrowable, isCompleted, isSuccessful, notifyComplete, setAsIfCompleted, setClient, setEndAsyncCalled, setLocalContext, setSuccessful, setTag, setTask, setThrowable, waitTillComplete
public FTPFile[] endAsync() throws FTPException, java.io.IOException
java.io.IOException
FTPException
public FTPFile[] getListing()
public void setListing(FTPFile[] array)
listing
- new listingpublic java.lang.String getRemoteDirectory()
public void setRemoteDirectory(java.lang.String remoteDirectory)
remoteDirectory
- Copyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.