public class PDFUtil extends Object
| 构造器和说明 |
|---|
PDFUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<BufferedImage> |
images(File file)
读取pdf文件图片
可以通过 ImageIO.write(BufferedImage, "JPEG", File)写入文件 |
static List<String> |
pages()
按页读取文本
|
static String |
read(File file) |
static org.anyline.entity.DataSet |
table()
读取表格
|
static List<org.anyline.entity.DataSet> |
tables()
读取所有表格
|
public static List<BufferedImage> images(File file)
file - 源文件public static org.anyline.entity.DataSet table()
public static List<org.anyline.entity.DataSet> tables()
Copyright © 2023. All rights reserved.