public abstract class AbstractTextAnalyzer extends AbstractAnalyzer
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.
| 限定符和类型 | 类和说明 |
|---|---|
protected static class |
AbstractTextAnalyzer.DefaultTextStripper
文本剥离器
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Set<TextInfo> |
infoSet
文本信息列表
|
document, log| 构造器和说明 |
|---|
AbstractTextAnalyzer(Document document)
有参构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract int |
getCharacterCount(int pageIndex)
获取字符数
|
abstract void |
processText(int pageIndex)
处理文本
|
getDocumentpublic AbstractTextAnalyzer(Document document)
document - 文档Copyright © 2024. All rights reserved.