ProGuard

proguard.util
Class ClassNameListMatcher

java.lang.Object
  extended byproguard.util.BasicListMatcher
      extended byproguard.util.ClassNameListMatcher
All Implemented Interfaces:
StringMatcher

public class ClassNameListMatcher
extends BasicListMatcher

This StringMatcher tests whether internal class names match any entry in a given list of regular expressions.

See Also:
BasicListMatcher, ClassNameMatcher

Constructor Summary
ClassNameListMatcher(List regularExpressionList)
          Creates a new ClassNameListMatcher.
ClassNameListMatcher(String regularExpression)
          Creates a new ClassNameListMatcher.
 
Method Summary
protected  StringMatcher createBasicMatcher(String regularExpression)
          Creates a new StringMatcher for the given regular expression.
static void main(String[] args)
          A main method for testing file name matching.
 
Methods inherited from class proguard.util.BasicListMatcher
matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassNameListMatcher

public ClassNameListMatcher(String regularExpression)
Creates a new ClassNameListMatcher.

Parameters:
regularExpression - the comma-separated list of regular expressions against which strings will be matched.

ClassNameListMatcher

public ClassNameListMatcher(List regularExpressionList)
Creates a new ClassNameListMatcher.

Parameters:
regularExpressionList - the list of regular expressions against which strings will be matched.
Method Detail

createBasicMatcher

protected StringMatcher createBasicMatcher(String regularExpression)
Description copied from class: BasicListMatcher
Creates a new StringMatcher for the given regular expression.

Overrides:
createBasicMatcher in class BasicListMatcher

main

public static void main(String[] args)
A main method for testing file name matching.


ProGuard