public class DefaultFileManager extends Object implements IUeditorFileManager
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BUFFER_SIZE |
| 构造器和说明 |
|---|
DefaultFileManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
State |
list(ActionConfig conf,
int start)
文件列表
|
State |
saveFile(byte[] data,
String rootPath,
String savePath)
保存二进制文件
|
State |
saveFile(InputStream is,
String rootPath,
String savePath)
保存流文件
|
State |
saveFile(InputStream is,
String rootPath,
String savePath,
long maxSize)
保存流文件
|
public static final int BUFFER_SIZE
public State list(ActionConfig conf, int start)
IUeditorFileManagerlist 在接口中 IUeditorFileManagerconf - 配置start - 开始public State saveFile(byte[] data, String rootPath, String savePath)
IUeditorFileManagersaveFile 在接口中 IUeditorFileManagerdata - 图片二进制信息rootPath - 跟路径savePath - 保存路径public State saveFile(InputStream is, String rootPath, String savePath, long maxSize)
IUeditorFileManagersaveFile 在接口中 IUeditorFileManageris - 流rootPath - 跟路径savePath - 保存路径maxSize - 文件最大字节public State saveFile(InputStream is, String rootPath, String savePath)
IUeditorFileManagersaveFile 在接口中 IUeditorFileManageris - 流rootPath - 跟路径savePath - 保存路径Copyright © 2018. All rights reserved.