| 程序包 | 说明 |
|---|---|
| com.github.houbb.sensitive.word.api |
api 定义
|
| com.github.houbb.sensitive.word.bs | |
| com.github.houbb.sensitive.word.support.data |
| 限定符和类型 | 方法和说明 |
|---|---|
IWordData |
IWordContext.wordData()
获取 wordMap 策略
|
IWordData |
IWordContext.wordDataAllow()
获取 wordDataAllow 策略
|
| 限定符和类型 | 方法和说明 |
|---|---|
IWordContext |
IWordContext.wordData(IWordData wordMap)
设置 wordMap 策略
|
IWordContext |
IWordContext.wordDataAllow(IWordData wordDataAllow)
设置 wordDataAllow 策略
|
| 限定符和类型 | 方法和说明 |
|---|---|
IWordData |
SensitiveWordContext.wordData() |
IWordData |
SensitiveWordContext.wordDataAllow() |
| 限定符和类型 | 方法和说明 |
|---|---|
SensitiveWordContext |
SensitiveWordContext.wordData(IWordData wordData) |
SensitiveWordBs |
SensitiveWordBs.wordData(IWordData wordData)
允许指定策略数据
|
SensitiveWordContext |
SensitiveWordContext.wordDataAllow(IWordData wordDataAllow) |
SensitiveWordBs |
SensitiveWordBs.wordDataAllow(IWordData wordDataAllow) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractWordData
抽象数据
|
class |
WordDataHashMap
已过时。
|
class |
WordDataTree
敏感词 map
PR:https://github.com/houbb/sensitive-word/pull/33
PR: https://github.com/houbb/sensitive-word/pull/74
|
| 限定符和类型 | 方法和说明 |
|---|---|
static IWordData |
WordDatas.defaults()
默认策略
|
static IWordData |
WordDatas.tree()
树模式
|
Copyright © 2025. All rights reserved.