Class GetFileAction

    • Constructor Summary

      Constructors 
      Constructor Description
      GetFileAction​(org.bitrepository.access.getfile.GetFileClient client, java.lang.String collectionID, java.lang.String fileID, java.io.File targetFile)
      Constructor to instantiate the get-file action
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean actionIsSuccess()  
      java.lang.String getInfo()  
      void performAction()
      Method to perform the implemented action
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GetFileAction

        public GetFileAction​(org.bitrepository.access.getfile.GetFileClient client,
                             java.lang.String collectionID,
                             java.lang.String fileID,
                             java.io.File targetFile)
        Constructor to instantiate the get-file action
        Parameters:
        client - The client to perform the action on
        collectionID - The ID of a known collection to operate on
        fileID - The ID of an existing file in the collection to download
        targetFile - A File specifying a path to download the file to