public class TextPDF extends Object
这个类提供命令行程序,以及高级 API
public static void gen(File xmlfile, File jsonfile, File pdffile) throws Exception
xmlfile - XML 模板文件jsonfile - JSON 数据文件pdffile - 输出 PDF 文件Exceptionpublic static void gen(String xmlstr, String jsonstr, File pdffile) throws FileNotFoundException, Exception
xmlstr - XML 模板字符串jsonstr - JSON 数据字符串pdffile - 输出 PDF 文件ExceptionFileNotFoundExceptionpublic static void main(String[] args) throws IOException
args - 命令行参数IOExceptionCopyright © 2021. All rights reserved.