Class DownloadByteArrayResult


public class DownloadByteArrayResult extends RemoteFileResult
Result object for downloading byte array
Version:
$Revision$
Author:
Bruce Blackshaw
  • Constructor Details

    • DownloadByteArrayResult

      public DownloadByteArrayResult(String remoteFileName)
      Parameters:
      context -
      direction -
      append -
      filename -
  • Method Details

    • endAsync

      public byte[] endAsync() throws IOException, FTPException
      This method is called to complete the asynchronous operation. The same exceptions will be thrown as if the operation was performed synchronously.
      Throws:
      IOException
      FTPException
    • getResult

      public byte[] getResult()
      Get byte array that was downloaded
      Returns:
      byte[]
    • setResult

      public void setResult(byte[] result)
      Set the byte array that was downloaded
      Parameters:
      result - byte array