Class DownloadStreamResult


public class DownloadStreamResult extends TransferFileResult
Result from downloading task as an input stream
Version:
$Revision$
Author:
Bruce Blackshaw
  • Constructor Details

    • DownloadStreamResult

      public DownloadStreamResult(String remoteFileName)
      Constructor.
      Parameters:
      context -
      direction -
      append -
      filename -
  • Method Details

    • setInputStream

      public void setInputStream(FileTransferInputStream str)
      Set the input stream. For internal use.
      Parameters:
      str - reference to the stream
    • setInputStreamFailure

      public void setInputStreamFailure(Throwable t)
    • getInputStream

      public FileTransferInputStream getInputStream() throws Throwable
      Get the input stream from which to read the file from the server
      Returns:
      InputStream
      Throws:
      Throwable