Class DriveFileDownloadExecution

java.lang.Object
com.amilesend.onedrive.resource.DriveFileDownloadExecution

public class DriveFileDownloadExecution extends Object
Wraps a CompletableFuture specific to a DriveItem type for async download operations.
  • Constructor Details

  • Method Details

    • get

      public Long get() throws Throwable
      Blocks and retrieves the number of bytes downloaded
      Returns:
      the number of bytes downloaded
      Throws:
      Throwable - if an error occurred during the asynchronous operation