Class ExistsResult


public class ExistsResult extends RemoteFileResult
Holds result of checking to see if a remote file exits.
Version:
$Revision$
Author:
Bruce Blackshaw
  • Constructor Details

    • ExistsResult

      public ExistsResult(String remoteFileName)
  • Method Details

    • exists

      public boolean exists()
      Does the file exist?
      Returns:
      true if exists, false otherwise
    • setExists

      public void setExists(boolean exists)
      Set exists status
      Parameters:
      exists - true if exists, false otherwise
    • endAsync

      public void 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