public class ObsFSFolder extends PutObjectResult
Modifier and Type | Field and Description |
---|---|
protected ObsClient |
innerClient |
Constructor and Description |
---|
ObsFSFolder(String bucketName,
String objectKey,
String etag,
String versionId,
StorageClassEnum storageClass,
String objectUrl) |
Modifier and Type | Method and Description |
---|---|
ObsFSAttribute |
attribute()
Obtain folder properties.
|
protected void |
checkInternalClient() |
TaskProgressStatus |
dropFolder()
Delete a folder.
|
protected void |
finalize() |
RenameResult |
rename(String newName)
Rename a folder.
|
getBucketName, getEtag, getObjectKey, getObjectStorageClass, getObjectUrl, getVersionId, toString
getRequestId, getResponseHeaders, getStatusCode
protected ObsClient innerClient
public ObsFSAttribute attribute() throws ObsException
ObsException
- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS failspublic RenameResult rename(String newName) throws ObsException
newName
- New folder nameObsException
- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS failspublic TaskProgressStatus dropFolder() throws ObsException
ObsException
- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS failsprotected void checkInternalClient()
Copyright © 2019. All rights reserved.