程序包 proguard.util
类 TransformedStringMatcher
- java.lang.Object
-
- proguard.util.StringMatcher
-
- proguard.util.TransformedStringMatcher
-
public class TransformedStringMatcher extends StringMatcher
This StringMatcher delegates its tests to another given StringMatcher, with strings that have been transformed with a given function.
-
-
构造器概要
构造器 构造器 说明 TransformedStringMatcher(StringFunction stringFunction, StringMatcher stringMatcher)Creates a new TransformedStringMatcher.
-
-
-
构造器详细资料
-
TransformedStringMatcher
public TransformedStringMatcher(StringFunction stringFunction, StringMatcher stringMatcher)
Creates a new TransformedStringMatcher.- 参数:
stringFunction- the function to transform strings.stringMatcher- the string matcher to test the transformed strings.
-
-
方法详细资料
-
matches
public boolean matches(java.lang.String string)
从类复制的说明:StringMatcherChecks whether the given string matches.- 覆盖:
matches在类中StringMatcher- 参数:
string- the string to match.- 返回:
- a boolean indicating whether the string matches the criterion.
-
matches
protected boolean matches(java.lang.String string, int beginOffset, int endOffset)从类复制的说明:StringMatcherChecks whether the given substring matches.- 指定者:
matches在类中StringMatcher- 参数:
string- the string to match.beginOffset- the start offset of the substring (inclusive).endOffset- the end offset of the substring (exclusive).- 返回:
- a boolean indicating whether the substring matches the criterion.
-
-