程序包 proguard.util
类 NameParser
java.lang.Object
proguard.util.NameParser
- 所有已实现的接口:
StringParser
This ' for a reference to an earlier wildcard (n = 1, 2, ...)
StringParser can create StringMatcher instances for regular expressions
matching names. The regular expressions are interpreted as comma-separated lists of names,
optionally prefixed with '!' negators. If a name with a negator matches, a negative match is
returned, without considering any subsequent entries in the list. The regular expressions can
contain the following wildcards: '?' for a single character, '*' for any number of characters,
and '-
构造器概要
构造器构造器说明Creates a new NameParser.NameParser(WildcardManager wildcardManager) Creates a new NameParser that supports references to earlier wildcards. -
方法概要
修饰符和类型方法说明static voidA main method for testing name matching.Creates a StringMatcher for the given regular expression.
-
构造器详细资料
-
NameParser
public NameParser()Creates a new NameParser. -
NameParser
Creates a new NameParser that supports references to earlier wildcards.- 参数:
wildcardManager- an optional scope for StringMatcher instances that match wildcards.
-
-
方法详细资料
-
parse
从接口复制的说明:StringParserCreates a StringMatcher for the given regular expression.- 指定者:
parse在接口中StringParser
-
main
A main method for testing name matching.
-