| 程序包 | 说明 |
|---|---|
| org.minbox.framework.api.boot.plugin.storage |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ApiBootObjectStorageService.delete(String objectName)
删除文件
|
void |
ApiBootObjectStorageService.download(String objectName,
String localFile)
下载文件写入本地文件
|
ApiBootObjectStorageResponse |
ApiBootObjectStorageService.upload(String objectName,
byte[] bytes)
流式上传
|
ApiBootObjectStorageResponse |
ApiBootObjectStorageService.upload(String objectName,
InputStream inputStream)
文件流方式上传
|
ApiBootObjectStorageResponse |
ApiBootObjectStorageService.upload(String objectName,
String localFile)
本地文件路径方式上传
|
Copyright © 2019. All rights reserved.