Package org.codehaus.plexus.util
Class MatchPattern
java.lang.Object
org.codehaus.plexus.util.MatchPattern
Describes a match target for SelectorUtils.
Significantly more efficient than using strings, since re-evaluation and re-tokenizing is avoided.
- Author:
- Kristian Rosenvold
-
Method Summary
Modifier and TypeMethodDescriptionstatic MatchPattern
fromString
(String source) char[][]
String[]
boolean
boolean
matchPatternStart
(String str, boolean isCaseSensitive) boolean
startsWith
(String string)
-
Method Details
-
matchPath
-
matchPatternStart
-
getTokenizedPathString
-
getTokenizedPathChars
public char[][] getTokenizedPathChars() -
startsWith
-
fromString
-