Package repast.simphony.util
Class ClassPathFilter
java.lang.Object
repast.simphony.filter.RegExStringFilter
repast.simphony.util.ClassPathFilter
Filter that takes a fully qualified class or package name expression
and filters found classes on whether they match the expression. The
expression can contain the "*" wildcard.
- Author:
- Nick Collier
-
Field Summary
Fields inherited from class repast.simphony.filter.RegExStringFilter
pattern
-
Constructor Summary
-
Method Summary
Methods inherited from class repast.simphony.filter.RegExStringFilter
getPattern
-
Constructor Details
-
ClassPathFilter
- Parameters:
filterExpression
-
-
-
Method Details
-
evaluate
Evaluates class paths (e.g. foo\bar\Baz.class) against an filter.- Specified by:
evaluate
in interfaceFilter<String>
- Overrides:
evaluate
in classRegExStringFilter
- Returns:
- true if the class path matches the filter otherwise false.
-