Package com.luna.common.anno
Interface Replacer<T>
- Type Parameters:
T
- 被替换操作的类型
- All Known Implementing Classes:
Html4Escape
,Html4Unescape
,LookupReplacer
,NumericEntityUnescaper
,ReplacerChain
,StrReplacer
,XmlEscape
,XmlUnescape
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
替换器
通过实现此接口完成指定类型对象的替换操作,替换后的目标类型依旧为指定类型
通过实现此接口完成指定类型对象的替换操作,替换后的目标类型依旧为指定类型
- Since:
- 4.1.5
- Author:
- looly
-
Method Summary
-
Method Details
-
replace
替换指定类型为目标类型- Parameters:
t
- 被替换的对象- Returns:
- 替代后的对象
-