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 MatchPatterns
static MatchPatterns
boolean
Checks these MatchPatterns against a specified string.boolean
boolean
boolean
matchesPatternStart
(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
-