Package org.codehaus.plexus.util
Class MatchPatterns
java.lang.Object
org.codehaus.plexus.util.MatchPatterns
A list of patterns to be matched
- Author:
- Kristian Rosenvold
-
Method Summary
Modifier and TypeMethodDescriptionstatic MatchPatternsstatic MatchPatternsbooleanChecks these MatchPatterns against a specified string.booleanbooleanbooleanmatchesPatternStart(String name, boolean isCaseSensitive)
-
Method Details
-
matches
Checks these MatchPatterns against a specified string.
Uses far less string tokenization than any of the alternatives.
- Parameters:
name- The name to look forisCaseSensitive- If the comparison is case sensitive- Returns:
- true if any of the supplied patterns match
-
matches
-
matches
-
matchesPatternStart
-
from
-
from
-