Class UploadFileTransfer

    • Constructor Detail

      • UploadFileTransfer

        public UploadFileTransfer()
    • Method Detail

      • transfer

        public java.lang.String transfer​(TransferState state)
                                  throws java.io.IOException,
                                         ServerError
        Description copied from interface: FileTransfer
        Transfers a file and returns the appropriate checksum string for the source file. The TransferState instance should be unique for this invocation, i.e. not used by any other threads. After execution, the fields can be inspected to see, e.g., the newly created file.
        Throws:
        java.io.IOException
        ServerError
      • afterTransfer

        public void afterTransfer​(int errors,
                                  java.util.List<java.lang.String> srcFiles)
                           throws CleanupFailure
        Since the RawFileStorePrx instances are cleaned up after each transfer, there's no need to cleanup per File.
        Throws:
        CleanupFailure