| 构造器和说明 |
|---|
LocalImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
createFolder(String subPath) |
String |
getDiskPath() |
File |
getFile(String filePath) |
String |
getFileStoreUrl() |
String |
getTempPath() |
String |
getUrl() |
List<FileItem> |
list(String subPath) |
List<FileItem> |
list(String subPath,
boolean directory) |
static void |
main(String[] args) |
boolean |
remove(String fileName) |
String |
upload(BufferedImage file,
String subPath) |
String |
upload(BufferedImage file,
String subPath,
boolean uuidName) |
String |
upload(File file,
String subPath) |
String |
upload(File file,
String subPath,
boolean uuidName) |
public String upload(BufferedImage file, String subPath)
public String upload(BufferedImage file, String subPath, boolean uuidName)
public boolean createFolder(String subPath)
createFolder 在接口中 IFileUppublic String getFileStoreUrl()
getFileStoreUrl 在接口中 IFileUppublic String getUrl()
public String getDiskPath()
public String getTempPath()
public static void main(String[] args)
Copyright © 2020. All rights reserved.