程序包 proguard.util
类 FileNameParser
- java.lang.Object
-
- proguard.util.FileNameParser
-
- 所有已实现的接口:
StringParser
public class FileNameParser extends java.lang.Object implements StringParser
ThisStringParsercan createStringMatcherinstances for regular expressions matching file names. The regular expressions can contain the following wildcards: '?' for a single regular file name character, '*' for any number of regular file name characters, and '**' for any number of regular file name characters or directory separator characters (always including '/').
-
-
构造器概要
构造器 构造器 说明 FileNameParser()Creates a new FileNameParser.FileNameParser(WildcardManager wildcardManager)Creates a new FileNameParser that supports references to earlier wildcards.
-
-
-
构造器详细资料
-
FileNameParser
public FileNameParser()
Creates a new FileNameParser.
-
FileNameParser
public FileNameParser(WildcardManager wildcardManager)
Creates a new FileNameParser that supports references to earlier wildcards.- 参数:
wildcardManager- an optional scope for StringMatcher instances that match wildcards.
-
-
方法详细资料
-
parse
public StringMatcher parse(java.lang.String regularExpression)
从接口复制的说明:StringParserCreates a StringMatcher for the given regular expression.- 指定者:
parse在接口中StringParser
-
main
public static void main(java.lang.String[] args)
A main method for testing file name matching.
-
-