|
||||||||||
| 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.RemoteTransferResult
com.enterprisedt.net.ftp.async.RemoteFileResult
com.enterprisedt.net.ftp.async.SizeResult
public class SizeResult
Holds result of getting the size of a remote file.
| Field Summary |
|---|
| Fields inherited from class com.enterprisedt.net.ftp.async.RemoteFileResult |
|---|
cancelled, remoteFileName |
| Fields inherited from class com.enterprisedt.net.ftp.async.RemoteTransferResult |
|---|
DEFAULT_NOTIFY_INTERVAL |
| Constructor Summary | |
|---|---|
SizeResult(java.lang.String remoteFileName)
|
|
| Method Summary | |
|---|---|
long |
endAsync()
|
long |
getSize()
|
void |
setSize(long size)
|
| Methods inherited from class com.enterprisedt.net.ftp.async.RemoteFileResult |
|---|
addProgressMonitor, getRemoteFileName, isCancelled |
| Methods inherited from class com.enterprisedt.net.ftp.async.RemoteTransferResult |
|---|
getMinTransferNotifyPeriod, getNotifyInterval, 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 SizeResult(java.lang.String remoteFileName)
| Method Detail |
|---|
public long endAsync()
throws FTPException,
java.io.IOException
FTPException
java.io.IOExceptionpublic long getSize()
public void setSize(long size)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||