Back to Vassonic

ReplaceCallBack (com.github.tencent:VasSonic 1.1 API)

sonic-java/apidocs/com/github/tencent/ReplaceCallBack.html

3.1.12.8 KB
Original Source

跳过导航链接

com.github.tencent

接口 ReplaceCallBack


public interfaceReplaceCallBack

方法概要

所有方法 实例方法 抽象方法 | 限定符和类型 | 方法和说明 | | --- | --- | | String | replace(String text, int index, Matcher matcher) 将text转化为特定的字符串返回 |

方法详细资料

- 

replace

[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)

将text转化为特定的字符串返回 参数:text - 指定的字符串index - 替换的次序matcher - Matcher对象返回:

跳过导航链接

Copyright © 2018. All rights reserved.