public class DownloadStreamResult extends TransferFileResult
cancelled, remoteFileNameDEFAULT_NOTIFY_INTERVAL| Constructor and Description |
|---|
DownloadStreamResult(java.lang.String remoteFileName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
endAsync, getLocalFileName, getWriteModeaddProgressMonitor, getRemoteFileName, isCancelledgetMinTransferNotifyPeriod, getNotifyInterval, setMinTransferNotifyPeriod, setNotifyIntervalcancelTask, endAsyncCalled, endAsyncInternal, getClient, getLocalContext, getTag, getTask, getTaskDescription, getTaskId, getThrowable, isCompleted, isSuccessful, notifyComplete, setAsIfCompleted, setClient, setEndAsyncCalled, setLocalContext, setSuccessful, setTag, setTask, setThrowable, waitTillCompletepublic DownloadStreamResult(java.lang.String remoteFileName)
context - direction - append - filename - 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.ThrowableCopyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.