Package cn.toint.oktool.util
Class KkFileViewUtil
java.lang.Object
cn.toint.oktool.util.KkFileViewUtil
- Author:
- Toint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildPreviewUrl(String previewServerUrl, String fileUrl, String fileName) 构建文件预览链接
-
Constructor Details
-
KkFileViewUtil
public KkFileViewUtil()
-
-
Method Details
-
buildPreviewUrl
构建文件预览链接- Parameters:
previewServerUrl- 预览服务链接fileUrl- 文件地址fileName- 文件名称(选填), 不同的文件, 文件名称一致的, 会导致预览服务器渲染历史缓存, 建议使用随机值作为文件主名称- Returns:
- kkfileview预览链接
- See Also:
-