public class FormExtractor extends AbstractFormExtractor
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
logdocument| 构造器和说明 |
|---|
FormExtractor(Document document)
有参构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,org.apache.pdfbox.pdmodel.interactive.form.PDField> |
extractField()
提取字段
|
Map<String,BufferedImage> |
extractImage()
提取图像
|
Map<String,String> |
extractText()
提取文本
|
process, processField, processImage, processTextgetDocumentpublic FormExtractor(Document document)
document - 文档public Map<String,org.apache.pdfbox.pdmodel.interactive.form.PDField> extractField()
extractField 在类中 AbstractFormExtractorkey = 字段名称,value = 提取字段
public Map<String,String> extractText()
extractText 在类中 AbstractFormExtractorkey = 字段名称,value = 提取文本
public Map<String,BufferedImage> extractImage()
extractImage 在类中 AbstractFormExtractorkey = 字段名称,value = 提取图像
Copyright © 2024. All rights reserved.