public class PDFConverter extends Object implements DocConverter
public PDFConverter(Path ofdPath) throws IOException
ofdPath - 转换后的OFD文件路径IOException - 文件解析异常public void convert(Path filepath, int... indexes) throws GeneralConvertException
convert 在接口中 DocConverterfilepath - 待转换文件路径indexes - 【可选】【可变】待转换页码(从0起),该参数仅在转换源文件类型为类文档文件时有效,当该参数不传或为空时表示转换全部内容到OFD。GeneralConvertException - 转换异常public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2023. All rights reserved.