public static interface QMUILinkify.TransformFilter
For example: when converting a phone number such as (919) 555-1212 into a tel: URL the parentheses, white space, and hyphen need to be removed to produce tel:9195551212.
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
transformUrl(java.util.regex.Matcher match,
java.lang.String url)
Examines the matched text and either passes it through or uses the
data in the Matcher state to produce a replacement.
|
java.lang.String transformUrl(java.util.regex.Matcher match,
java.lang.String url)
match - The regex matcher state that found this URL texturl - The text that was matched