|
||||||||||
| 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.DirectoryNameListResult
public class DirectoryNameListResult
Holds the result of listing the names of files and subdirectories in a directory
| Constructor Summary | |
|---|---|
DirectoryNameListResult(java.lang.String directory,
boolean isLong)
|
|
| Method Summary | |
|---|---|
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 |
| 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 DirectoryNameListResult(java.lang.String directory,
boolean isLong)
| Method Detail |
|---|
public java.lang.String[] endAsync()
throws FTPException,
java.io.IOException
java.io.IOException
FTPExceptionpublic 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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||