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 theDriveFile
for the asynchronous operation.DriveFile.move
(@NonNull DriveFolder destinationFolder, String newName) Moves this file to the specifiedDriveFolder
along 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.useupload(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 givenfile
and reports transfer progress to the specifiedTransferProgressCallback
.Deprecated.useDriveItemFolderType.upload(Path)
insteadDriveItemFolderType.upload
(File file, com.amilesend.client.connection.file.TransferProgressCallback callback) Deprecated.Uploads the givenfile
under this folder.DriveItemFolderType.upload
(Path filePath, com.amilesend.client.connection.file.TransferProgressCallback callback) Uploads the givenfile
under 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.
upload(Path)
instead