public class DefaultOssProperties extends Object implements OssProperties, org.springframework.beans.factory.InitializingBean
| 构造器和说明 |
|---|
DefaultOssProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
Map<String,String> |
getBuckets()
The file's category and bucket mapping, the file will be stored in corresponding bucket for different category,
if the bucket is not defined for the file's category , the default bucket will be taken place.
|
String |
getDefaultBucket()
The default bucket to store the file which's bucket is not specified for category.
|
String |
getImgDomain()
The img domain base
|
String |
getKeyId()
The oss access key id
|
String |
getOssDomain()
The oss domain base
|
String |
getSecret()
The oss access secret
|
void |
setBuckets(Map<String,String> buckets) |
void |
setDefaultBucket(String defaultBucket) |
void |
setImgDomain(String imgDomain) |
void |
setKeyId(String keyId) |
void |
setOssDomain(String ossDomain) |
void |
setSecret(String secret) |
public String getKeyId()
OssPropertiesgetKeyId 在接口中 OssPropertiespublic void setKeyId(String keyId)
public String getSecret()
OssPropertiesgetSecret 在接口中 OssPropertiespublic void setSecret(String secret)
public String getOssDomain()
OssPropertiesgetOssDomain 在接口中 OssPropertiespublic void setOssDomain(String ossDomain)
public String getImgDomain()
OssPropertiesgetImgDomain 在接口中 OssPropertiespublic void setImgDomain(String imgDomain)
public String getDefaultBucket()
OssPropertiesgetDefaultBucket 在接口中 OssPropertiespublic void setDefaultBucket(String defaultBucket)
public Map<String,String> getBuckets()
OssPropertiesgetBuckets 在接口中 OssPropertiesCopyright © 2016. All rights reserved.