com.belerweb.oss4springmvc
类 OssService
java.lang.Object
com.belerweb.oss4springmvc.OssService
- 所有已实现的接口:
- org.springframework.beans.factory.InitializingBean
public class OssService
- extends Object
- implements org.springframework.beans.factory.InitializingBean
- 作者:
- Jun
OSS 服务
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OssService
public OssService()
upload
public OssUploadResult upload(org.springframework.web.multipart.MultipartFile file)
throws IOException
- 抛出:
IOException
upload
public OssUploadResult upload(org.springframework.web.multipart.MultipartFile file,
com.aliyun.openservices.oss.model.ObjectMetadata metadata)
throws IOException
- 抛出:
IOException
setEndpoint
public void setEndpoint(String endpoint)
setAccessId
public void setAccessId(String accessId)
setAccessKey
public void setAccessKey(String accessKey)
setBucket
public void setBucket(String bucket)
setPathBuilder
public void setPathBuilder(PathBuilder pathBuilder)
afterPropertiesSet
public void afterPropertiesSet()
- 指定者:
- 接口
org.springframework.beans.factory.InitializingBean
中的 afterPropertiesSet
Copyright © 2012. All Rights Reserved.