类 AbstractFileClient

java.lang.Object
com.obs.services.internal.RestConnectionService
com.obs.services.internal.RestStorageService
com.obs.services.internal.service.AbstractRequestConvertor
com.obs.services.internal.service.AclHeaderConvertor
com.obs.services.internal.service.RequestConvertor
com.obs.services.internal.service.ObsBucketBaseService
com.obs.services.internal.service.ObsBucketAdvanceService
com.obs.services.internal.service.ObsObjectBaseService
com.obs.services.internal.service.ObsMultipartObjectService
com.obs.services.internal.service.ObsObjectService
所有已实现的接口:
IFSClient, IObsBucketExtendClient, IObsClient, Closeable, AutoCloseable
直接已知子类:
AbstractBatchClient

public abstract class AbstractFileClient extends AbstractPFSClient
  • 构造器详细资料

    • AbstractFileClient

      public AbstractFileClient()
  • 方法详细资料

    • uploadFile

      public CompleteMultipartUploadResult uploadFile(UploadFileRequest uploadFileRequest) throws ObsException
      从接口复制的说明: IObsClient
      Upload a file. The resumable upload mode is supported.
      参数:
      uploadFileRequest - Parameters in a file upload request
      返回:
      Result of part combination
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • downloadFile

      public DownloadFileResult downloadFile(DownloadFileRequest downloadFileRequest) throws ObsException
      从接口复制的说明: IObsClient
      Download a file. The resumable download mode is supported.
      参数:
      downloadFileRequest - Parameters in a request for downloading a file
      返回:
      File download result
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • dropFolder

      public TaskProgressStatus dropFolder(DropFolderRequest request) throws ObsException
      从接口复制的说明: IFSClient
      Delete a folder.
      参数:
      request - Request parameters for deleting a folder
      返回:
      Batch task execution status
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails