| 程序包 | 说明 |
|---|---|
| cn.watsontech.webhelper | |
| cn.watsontech.webhelper.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
UploadFile |
UploadService.uploadFile(File file,
String contentType,
FileRefFormParams fileParam,
String fileObjectKey,
Long userId)
保存文件到远程仓库或本地
|
protected abstract UploadFile |
UploadService.uploadFile(File tmpFile,
String contentType,
UploadProperties uploadProperties,
String fileObjectKey,
Long userId,
Map<String,Object> userMetadata,
Integer storageLevel,
Boolean isImage)
实际执行上传操作方法
|
UploadFile |
UploadService.uploadFile(org.springframework.web.multipart.MultipartFile file,
FileRefFormParams fileParam,
String fileObjectKey,
Long userId)
保存文件到远程仓库或本地
|
protected abstract UploadFile |
UploadService.uploadFile(org.springframework.web.multipart.MultipartFile file,
UploadProperties uploadProperties,
String fileObjectKey,
Long userId,
Map<String,Object> userMetadata,
Integer storageLevel,
Boolean isImage) |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract List<UploadFile> |
UploadService.listFiles(String bucketName)
列表显示bucket所有文件
|
List<UploadFile> |
UploadService.uploadFiles(File[] files,
String[] contentTypes,
List<FileRefFormParams> fileParams,
List<String> fileObjectKeys,
Long userId)
保存文件到远程仓库或本地
|
List<UploadFile> |
UploadService.uploadFiles(org.springframework.web.multipart.MultipartFile[] files,
List<FileRefFormParams> fileParams,
List<String> fileObjectKeys,
Long userId)
保存文件到远程仓库或本地
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected UploadFile |
HuaweiUploadServiceImpl.uploadFile(File tmpFile,
String contentType,
UploadProperties uploadProperties,
String fileObjectKey,
Long userId,
Map<String,Object> userMetadata,
Integer storageLevel,
Boolean isImage) |
protected UploadFile |
TencentUploadServiceImpl.uploadFile(File tmpFile,
String contentType,
UploadProperties uploadProperties,
String fileObjectKey,
Long userId,
Map<String,Object> userMetadata,
Integer storageLevel,
Boolean isImage) |
protected UploadFile |
LocalUploadServiceImpl.uploadFile(File tmpFile,
String contentType,
UploadProperties uploadProperties,
String fileObjectKey,
Long userId,
Map<String,Object> userMetadata,
Integer storageLevel,
Boolean isImage) |
protected UploadFile |
HuaweiUploadServiceImpl.uploadFile(org.springframework.web.multipart.MultipartFile file,
UploadProperties uploadProperties,
String fileObjectKey,
Long userId,
Map<String,Object> userMetadata,
Integer storageLevel,
Boolean isImage) |
protected UploadFile |
TencentUploadServiceImpl.uploadFile(org.springframework.web.multipart.MultipartFile file,
UploadProperties uploadProperties,
String fileObjectKey,
Long userId,
Map<String,Object> userMetadata,
Integer storageLevel,
Boolean isImage) |
protected UploadFile |
LocalUploadServiceImpl.uploadFile(org.springframework.web.multipart.MultipartFile file,
UploadProperties uploadProperties,
String fileObjectKey,
Long userId,
Map<String,Object> userMetadata,
Integer storageLevel,
Boolean isImage) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<UploadFile> |
HuaweiUploadServiceImpl.listFiles(String bucketName) |
List<UploadFile> |
TencentUploadServiceImpl.listFiles(String bucketName)
列表显示bucket所有文件
|
List<UploadFile> |
LocalUploadServiceImpl.listFiles(String bucketName)
列表显示bucket所有文件
|
Copyright © 2021. All rights reserved.