public class Pdf2HtmlConverter extends Object implements IDocConverter
| 构造器和说明 |
|---|
Pdf2HtmlConverter() |
public File convert(File srcFile, File destFile, DocConvertSettings settings) throws Exception
IDocConverterconvert 在接口中 IDocConvertersrcFile - 待转换的源文件destFile - 要转换成为的目标文件settings - 转换设置Exceptionpublic static void pdf2html(String exeFilePath, File srcFile, File destFile) throws DocConvertException
exeFilePath - pdf2htmlEX可执行文件路径srcFile - pdf源文件destFile - 转换目标html文件DocConvertException - 当出现异常时返回异常对象。可以用getCause()查看原始异常信息。Copyright © 2018. All rights reserved.