public interface UeditorUpload extends FileManager, Config
| 限定符和类型 | 方法和说明 |
|---|---|
void |
save(byte[] data,
String rootPath,
String savePath)
持久化文件信息
|
void |
save(File file,
String rootPath,
String path)
持久化文件信息
|
com.baidu.ueditor.define.BaseState |
validFile(String savePath)
检测用于对于path是否拥有写权限
|
getAllowFiles, getPath, getState, listFilecom.baidu.ueditor.define.BaseState validFile(String savePath)
savePath - 保存路径void save(File file, String rootPath, String path) throws IOException
file - 临时文件rootPath - 文件保存根目录path - 文件保存路径(相对于根目录)IOException - 文件处理出错void save(byte[] data,
String rootPath,
String savePath)
throws IOException
data - 文件数据rootPath - 文件保存根目录savePath - 文件保存目录(相对于根目录)IOException - 文件处理出错Copyright © 2019. All rights reserved.