public class DownloadStreamResult extends TransferFileResult
cancelled, remoteFileName
DEFAULT_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, getWriteMode
addProgressMonitor, getRemoteFileName, isCancelled
getMinTransferNotifyPeriod, getNotifyInterval, setMinTransferNotifyPeriod, setNotifyInterval
cancelTask, endAsyncCalled, endAsyncInternal, getClient, getLocalContext, getTag, getTask, getTaskDescription, getTaskId, getThrowable, isCompleted, isSuccessful, notifyComplete, setAsIfCompleted, setClient, setEndAsyncCalled, setLocalContext, setSuccessful, setTag, setTask, setThrowable, waitTillComplete
public 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.Throwable
Copyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.