sonic-java/apidocs/com/github/tencent/AbstractReplaceCallBack.html
com.github.tencent
所有已实现的接口:ReplaceCallBack
public abstract classAbstractReplaceCallBackextends[Object](http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true "java.lang中的类或接口")implements[ReplaceCallBack](../../../com/github/tencent/ReplaceCallBack.html "com.github.tencent中的接口")
字段 | 限定符和类型 | 字段和说明 |
| --- | --- |
| protected Matcher | matcher |
构造器 | 构造器和说明 |
| --- |
| AbstractReplaceCallBack() |
所有方法 实例方法 抽象方法 具体方法 | 限定符和类型 | 方法和说明 |
| --- | --- |
| abstract String | doReplace(String text, int index, Matcher matcher)
将text转化为特定的字符串返回
|
| String | replace(String text, int index, Matcher matcher)
将text转化为特定的字符串返回
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
protected[Matcher](http://docs.oracle.com/javase/7/docs/api/java/util/regex/Matcher.html?is-external=true "java.util.regex中的类或接口")matcher
-
public AbstractReplaceCallBack()
-
public final[String](http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true "java.lang中的类或接口")replace([String](http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true "java.lang中的类或接口")text,
int index,[Matcher](http://docs.oracle.com/javase/7/docs/api/java/util/regex/Matcher.html?is-external=true "java.util.regex中的类或接口")matcher)
从接口复制的说明: ReplaceCallBack
将text转化为特定的字符串返回
指定者:replace 在接口中 ReplaceCallBack参数:text - 指定的字符串index - 替换的次序matcher - Matcher对象返回:
-
public abstract[String](http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true "java.lang中的类或接口")doReplace([String](http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true "java.lang中的类或接口")text,
int index,[Matcher](http://docs.oracle.com/javase/7/docs/api/java/util/regex/Matcher.html?is-external=true "java.util.regex中的类或接口")matcher)
将text转化为特定的字符串返回
参数:text - 指定的字符串index - 替换的次序matcher - Matcher对象返回:
Copyright © 2018. All rights reserved.