public class Pdf2HtmlConverter extends Object implements IFileConverter
public File convert(File srcFile, File destFile, FileConverterSettings settings) throws Exception
IFileConverterconvert 在接口中 IFileConvertersrcFile - 待转换的源文件destFile - 要转换成为的目标文件settings - 转换设置Exception - 转换过程中可能发生的各种异常public static void pdf2html(String exeFilePath, File srcFile, File destFile) throws FileConverterException
exeFilePath - pdf2htmlEX可执行文件路径srcFile - pdf源文件destFile - 转换目标html文件FileConverterException - 当出现异常时返回异常对象。可以用getCause()查看原始异常信息。Copyright © 2019. All rights reserved.