Package | Description |
---|---|
cn.hutool.dfa |
DFA全称为:Deterministic Finite Automaton,即确定有穷自动机。
|
Modifier and Type | Method and Description |
---|---|
static String |
SensitiveUtil.sensitiveFilter(String text,
boolean isGreedMatch,
SensitiveProcessor sensitiveProcessor)
处理过滤文本中的敏感词,默认替换成*
|
static <T> T |
SensitiveUtil.sensitiveFilter(T bean,
boolean isGreedMatch,
SensitiveProcessor sensitiveProcessor)
敏感词过滤
|
Copyright © 2024. All rights reserved.