Class UploadStreamResult


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

    • UploadStreamResult

      public UploadStreamResult(String remoteFileName, WriteMode writeMode)
      Constructor.
      Parameters:
      context -
      direction -
      append -
      filename -
  • Method Details

    • setOutputStream

      public void setOutputStream(FileTransferOutputStream str)
      Set the input stream. For internal use.
      Parameters:
      str - reference to the stream
    • setOutputStreamFailure

      public void setOutputStreamFailure(Throwable t)
    • getOutputStream

      public FileTransferOutputStream getOutputStream() throws Throwable
      Get the input stream from which to read the file from the server
      Returns:
      FileTransferOutputStream
      Throws:
      Throwable