proguard.util
Class FileNameMatcher
java.lang.Object
proguard.util.BasicMatcher
proguard.util.FileNameMatcher
- All Implemented Interfaces:
- StringMatcher
- public class FileNameMatcher
- extends BasicMatcher
This StringMatcher tests whether file names match a given regular
expression.
Supported wildcards are
'?' 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 '/').
|
Method Summary |
static void |
main(String[] args)
A main method for testing file name matching. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileNameMatcher
public FileNameMatcher(String regularExpression)
- Creates a new FileNameMatcher.
- Parameters:
regularExpression - the regular expression against which strings
will be matched.
main
public static void main(String[] args)
- A main method for testing file name matching.