Class DirectoryListCallbackResult

java.lang.Object
com.enterprisedt.net.ftp.async.AsyncResult
com.enterprisedt.net.ftp.async.DirectoryListCallbackResult

public class DirectoryListCallbackResult extends AsyncResult
Holds the result of listing a directory
Version:
$Revision$
Author:
Bruce Blackshaw
  • Constructor Details

    • DirectoryListCallbackResult

      public DirectoryListCallbackResult(String directory)
  • Method Details

    • endAsync

      public void endAsync() throws FTPException, IOException
      This method is called to complete the asynchronous operation. If the operation is not completed, this method will block until it has. It is normally called from within a callback, which ensures that the operation has indeed already completed.
      Throws:
      IOException
      FTPException
    • getRemoteDirectory

      public String getRemoteDirectory()
      Get the name of the listed directory
      Returns:
      directory name
    • setRemoteDirectory

      public void setRemoteDirectory(String remoteDirectory)
      Set the name of the listed directory
      Parameters:
      remoteDirectory -