|
||||||||||
| 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.RemoteFileResult
com.enterprisedt.net.ftp.async.ExistsResult
public class ExistsResult
Holds result of checking to see if a remote file exits.
| Field Summary |
|---|
| Fields inherited from class com.enterprisedt.net.ftp.async.RemoteFileResult |
|---|
cancelled, DEFAULT_NOTIFY_INTERVAL, remoteFileName |
| Constructor Summary | |
|---|---|
ExistsResult(java.lang.String remoteFileName)
|
|
| Method Summary | |
|---|---|
void |
endAsync()
This method is called to complete the asynchronous operation. |
boolean |
exists()
Does the file exist? |
void |
setExists(boolean exists)
Set exists status |
| Methods inherited from class com.enterprisedt.net.ftp.async.RemoteFileResult |
|---|
addProgressMonitor, getMinTransferNotifyPeriod, getNotifyInterval, getRemoteFileName, isCancelled, setMinTransferNotifyPeriod, setNotifyInterval |
| 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 ExistsResult(java.lang.String remoteFileName)
| Method Detail |
|---|
public boolean exists()
public void setExists(boolean exists)
exists - true if exists, false otherwise
public void endAsync()
throws java.io.IOException,
FTPException
java.io.IOException
FTPException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||