|
||||||||||
| 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.TransferFileResult
com.enterprisedt.net.ftp.async.DownloadStreamResult
public class DownloadStreamResult
Result from downloading task as an input stream
| 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 | |
|---|---|
DownloadStreamResult(java.lang.String remoteFileName)
Constructor. |
|
| Method Summary | |
|---|---|
FileTransferInputStream |
getInputStream()
Get the input stream from which to read the file from the server |
void |
setInputStream(FileTransferInputStream str)
Set the input stream. |
void |
setInputStreamFailure(java.lang.Throwable t)
|
| Methods inherited from class com.enterprisedt.net.ftp.async.TransferFileResult |
|---|
endAsync, getLocalFileName, getWriteMode |
| 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 DownloadStreamResult(java.lang.String remoteFileName)
context - direction - append - filename - | Method Detail |
|---|
public void setInputStream(FileTransferInputStream str)
str - reference to the streampublic void setInputStreamFailure(java.lang.Throwable t)
public FileTransferInputStream getInputStream()
throws java.lang.Throwable
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||