Package com.enterprisedt.net.ftp.async
Class DownloadStreamResult
java.lang.Object
com.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
Result from downloading task as an input stream
- Version:
- $Revision$
- Author:
- Bruce Blackshaw
-
Field Summary
Fields inherited from class com.enterprisedt.net.ftp.async.RemoteFileResult
cancelled, remoteFileNameFields inherited from class com.enterprisedt.net.ftp.async.RemoteTransferResult
DEFAULT_NOTIFY_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the input stream from which to read the file from the servervoidSet the input stream.voidMethods inherited from class com.enterprisedt.net.ftp.async.TransferFileResult
endAsync, getLocalFileName, getWriteModeMethods inherited from class com.enterprisedt.net.ftp.async.RemoteFileResult
addProgressMonitor, getRemoteFileName, isCancelledMethods inherited from class com.enterprisedt.net.ftp.async.RemoteTransferResult
getMinTransferNotifyPeriod, getNotifyInterval, setMinTransferNotifyPeriod, setNotifyIntervalMethods 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
-
Constructor Details
-
DownloadStreamResult
Constructor.- Parameters:
context-direction-append-filename-
-
-
Method Details
-
setInputStream
Set the input stream. For internal use.- Parameters:
str- reference to the stream
-
setInputStreamFailure
-
getInputStream
Get the input stream from which to read the file from the server- Returns:
- InputStream
- Throws:
Throwable
-