public class ObsFSFolder extends PutObjectResult
限定符和类型 | 字段和说明 |
---|---|
protected ObsClient |
innerClient |
构造器和说明 |
---|
ObsFSFolder(String bucketName,
String objectKey,
String etag,
String versionId,
StorageClassEnum storageClass,
String objectUrl) |
限定符和类型 | 方法和说明 |
---|---|
ObsFSAttribute |
attribute()
获取文件夹的属性
|
protected void |
checkInternalClient() |
TaskProgressStatus |
dropFolder()
删除文件夹
|
protected void |
finalize() |
RenameResult |
rename(String newName)
重命名文件夹
|
getBucketName, getEtag, getObjectKey, getObjectStorageClass, getObjectUrl, getVersionId, toString
getRequestId, getResponseHeaders, getStatusCode
protected ObsClient innerClient
public ObsFSAttribute attribute() throws ObsException
ObsException
- OBS SDK自定义异常,当调用接口失败、访问OBS失败时抛出该异常public RenameResult rename(String newName) throws ObsException
newName
- 新的文件夹名ObsException
- OBS SDK自定义异常,当调用接口失败、访问OBS失败时抛出该异常public TaskProgressStatus dropFolder() throws ObsException
ObsException
- OBS SDK自定义异常,当调用接口失败、访问OBS失败时抛出该异常protected void checkInternalClient()
Copyright © 2019. All rights reserved.