public interface ScreenShotManager
限定符和类型 | 接口和说明 |
---|---|
static class |
ScreenShotManager.HtmlRenderType |
static class |
ScreenShotManager.ScreenShotParam |
限定符和类型 | 方法和说明 |
---|---|
void |
base64ToPdf(java.lang.String pdfPathName,
java.lang.String base64,
com.seeyon.ctp.common.constants.ApplicationCategoryEnum app)
base64格式图片转换为pdf(不保存数据库)
|
java.lang.String |
htmlToFile(java.lang.String url,
ScreenShotManager.ScreenShotParam paramObj)
对页面进行截图,转换为对应文件
|
com.seeyon.ctp.common.po.filemanager.V3XFile |
htmlToImage(java.lang.String url,
ScreenShotManager.ScreenShotParam paramObj,
com.seeyon.ctp.common.constants.ApplicationCategoryEnum category)
对页面进行截图
|
com.seeyon.ctp.common.po.filemanager.V3XFile |
htmlToPdf(java.lang.String url,
ScreenShotManager.ScreenShotParam paramObj,
com.seeyon.ctp.common.constants.ApplicationCategoryEnum category)
将页面转换为pdf
|
com.seeyon.ctp.common.po.filemanager.V3XFile htmlToImage(java.lang.String url, ScreenShotManager.ScreenShotParam paramObj, com.seeyon.ctp.common.constants.ApplicationCategoryEnum category) throws com.seeyon.ctp.common.exceptions.BusinessException
url
- com.seeyon.ctp.common.exceptions.BusinessException
java.lang.String htmlToFile(java.lang.String url, ScreenShotManager.ScreenShotParam paramObj) throws com.seeyon.ctp.common.exceptions.BusinessException
url
- paramObj
- com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.po.filemanager.V3XFile htmlToPdf(java.lang.String url, ScreenShotManager.ScreenShotParam paramObj, com.seeyon.ctp.common.constants.ApplicationCategoryEnum category) throws com.seeyon.ctp.common.exceptions.BusinessException
url
- paramObj
- com.seeyon.ctp.common.exceptions.BusinessException
void base64ToPdf(java.lang.String pdfPathName, java.lang.String base64, com.seeyon.ctp.common.constants.ApplicationCategoryEnum app) throws com.seeyon.ctp.common.exceptions.BusinessException
pdfPathName
- pdf的目标保存路径(含pdf文件名),此文件可不创建,方法内帮你创建base64
- base64格式的图片字符串app
- 所属模块com.seeyon.ctp.common.exceptions.BusinessException