|
||||||||||
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.TransferDirectoryResult
public class TransferDirectoryResult
The result object from a file transfer operation.
Field Summary | |
---|---|
static int |
DEFAULT_NOTIFY_INTERVAL
|
Constructor Summary | |
---|---|
TransferDirectoryResult(java.lang.String localDirectory,
java.lang.String remoteDirectory)
Constructor. |
Method Summary | |
---|---|
void |
addFileProgressMonitor(AsyncEventListener monitor)
Add a progress monitor for this transfer |
void |
endAsync()
This method is called to complete the asynchronous operation. |
java.lang.String |
getLocalDirectory()
Get the local directory name. |
int |
getMinTransferNotifyPeriod()
Get the minimum period before a transfer callback. |
java.lang.String |
getRemoteDirectory()
Get the remote directory name. |
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 |
Field Detail |
---|
public static final int DEFAULT_NOTIFY_INTERVAL
Constructor Detail |
---|
public TransferDirectoryResult(java.lang.String localDirectory, java.lang.String remoteDirectory)
localDirectory
- local directory nameremoteDirectory
- remote directory nameMethod Detail |
---|
public void endAsync() throws java.io.IOException, FTPException
java.io.IOException
FTPException
public java.lang.String getLocalDirectory()
public java.lang.String getRemoteDirectory()
public int getMinTransferNotifyPeriod()
public void addFileProgressMonitor(AsyncEventListener monitor)
monitor
- progress monitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |