| Package | Description |
|---|---|
| com.thebeastshop.common.enums | |
| com.thebeastshop.common.fileupload | |
| com.thebeastshop.common.utils |
| Modifier and Type | Method and Description |
|---|---|
static FileTypeEnum |
FileTypeEnum.getEnumByCode(Integer code) |
static FileTypeEnum |
FileTypeEnum.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileTypeEnum[] |
FileTypeEnum.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
FileUploadResp |
FileUploadClient.uploadFile(File file,
String extraPath,
FileTypeEnum fileType)
上传文件
|
FileUploadResp |
FileUploadClient.uploadFile(InputStream inputStream,
String extraPath,
FileTypeEnum fileType)
上传文件
|
FileUploadResp |
FileUploadClient.uploadFile(String localFilePath,
String extraPath,
FileTypeEnum fileType)
上传文件
|
| Modifier and Type | Method and Description |
|---|---|
static FileTypeEnum |
FileUtil.getFileType(File file)
获取文件类型
|
static FileTypeEnum |
FileUtil.getFileType(InputStream inputStream)
获取文件类型
|
static FileTypeEnum |
FileUtil.getFileType(String filePath)
获取文件类型
|
Copyright © 2018. All rights reserved.