|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.enterprisedt.net.ftp.async.AsyncResult
com.enterprisedt.net.ftp.async.DirectoryListResult
public class DirectoryListResult
Holds the result of listing a directory
| Constructor Summary | |
|---|---|
DirectoryListResult(java.lang.String directory)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class com.enterprisedt.net.ftp.async.AsyncResult |
|---|
cancelTask, endAsyncCalled, endAsyncInternal, getClient, getLocalContext, getTag, getTask, getTaskDescription, getTaskId, getThrowable, isCompleted, isSuccessful, notifyComplete, setAsIfCompleted, setClient, setEndAsyncCalled, setLocalContext, setSuccessful, setTag, setTask, setThrowable, waitTillComplete |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryListResult(java.lang.String directory)
| Method Detail |
|---|
public FTPFile[] endAsync()
throws FTPException,
java.io.IOException
java.io.IOException
FTPExceptionpublic FTPFile[] getListing()
public void setListing(FTPFile[] array)
listing - new listingpublic java.lang.String getRemoteDirectory()
public void setRemoteDirectory(java.lang.String remoteDirectory)
remoteDirectory -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||