类 TemplateHelper
java.lang.Object
cool.scx.ext.cms.template.TemplateHelper
Cms 模板
- 版本:
- 0.3.6
- 作者:
- scx567888
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static cool.scx.vo.Jsondelete.static cool.scx.vo.JsongetFileContent(String filePath) 获取文件内容static cool.scx.vo.Jsonindex()Index.static cool.scx.vo.Jsonrename.static cool.scx.vo.JsonsetFileContent(String filePath, String fileContent) setFileContent.static cool.scx.vo.Jsonupload.
-
构造器详细资料
-
TemplateHelper
public TemplateHelper()
-
-
方法详细资料
-
index
Index.
- 返回:
- a
Jsonobject. - 抛出:
IOException- if any.
-
getFileContent
获取文件内容- 参数:
filePath- 文件路径- 返回:
- a
Jsonobject.
-
setFileContent
setFileContent.
- 参数:
filePath- 文件路径fileContent- 文件内容- 返回:
- a
Jsonobject.
-
delete
delete.
- 参数:
filePath- aMapobject.- 返回:
- a
Jsonobject. - 抛出:
IOException- if any.
-
upload
upload.
-
rename
rename.
- 参数:
newFilePath- 原文件路径oldFilePath- 新文件路径- 返回:
- a
Jsonobject.
-