public class DirectoryNameListResult extends AsyncResult
| Constructor and Description |
|---|
DirectoryNameListResult(java.lang.String directory,
boolean isLong) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
endAsync()
This method is called to complete the asynchronous operation.
|
java.lang.String[] |
getListing()
Get the listing that has been returned
|
java.lang.String |
getRemoteDirectory()
Get the name of the listed directory
|
boolean |
isLongListing()
Is this a name list or a long listing
|
void |
setListing(java.lang.String[] 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, waitTillCompletepublic DirectoryNameListResult(java.lang.String directory,
boolean isLong)
public java.lang.String[] endAsync()
throws FTPException,
java.io.IOException
java.io.IOExceptionFTPExceptionpublic java.lang.String[] getListing()
public boolean isLongListing()
public void setListing(java.lang.String[] 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.