Uses of Class
com.amilesend.onedrive.resource.DriveFile
Packages that use DriveFile
-
Uses of DriveFile in com.amilesend.onedrive.resource
Methods in com.amilesend.onedrive.resource that return DriveFileModifier and TypeMethodDescriptionDriveFileUploadExecution.get()Blocks and retrieves theDriveFilefor the asynchronous operation.DriveFile.move(@NonNull DriveFolder destinationFolder, String newName) Moves this file to the specifiedDriveFolderalong with the new file name.DriveFile.move(DriveFolder destinationFolder) Moves this file to the specifiedDriveFolder.Moves this file to the specifiednewParentId(i.e., represents a new DriveFolder's ID) along with the new file name.DriveFile.update()Updates the attributes for this file.Deprecated.Deprecated.useDriveFile.upload(Path, TransferProgressCallback)insteadUploads and replaces this drive file's contents with the givenfile.DriveFile.upload(Path filePath, com.amilesend.client.connection.file.TransferProgressCallback callback) Uploads and replaces this drive file's contents with the givenfileand reports transfer progress to the specifiedTransferProgressCallback.Deprecated.useDriveItemFolderType.upload(Path)insteadDriveItemFolderType.upload(File file, com.amilesend.client.connection.file.TransferProgressCallback callback) Deprecated.Uploads the givenfileunder this folder.DriveItemFolderType.upload(Path filePath, com.amilesend.client.connection.file.TransferProgressCallback callback) Uploads the givenfileunder this folder and reports transfer progress to the specifiedTransferProgressCallback.Methods in com.amilesend.onedrive.resource that return types with arguments of type DriveFileModifier and TypeMethodDescriptionDriveItemFolderType.getChildFiles()Gets the list of child drive files under this folder.
DriveFile.upload(Path)instead