Package org.apache.maven.shared.utils.io
Class MatchPattern
java.lang.Object
org.apache.maven.shared.utils.io.MatchPattern
Deprecated.
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 MatchPatternfromString(String source) Deprecated.String[]Deprecated.booleanDeprecated.booleanmatchPatternStart(String str, boolean isCaseSensitive) Deprecated.booleanstartsWith(String string) Deprecated.
-
Method Details
-
matchPath
Deprecated.- Parameters:
str- the string to match forisCaseSensitive- case sensitive true false otherwise- Returns:
- true if matches false otherwise
-
matchPatternStart
Deprecated.- Parameters:
str- the string to checkisCaseSensitive- check case sensitive or not- Returns:
- true in case of matching pattern
-
getTokenizedPathString
Deprecated.- Returns:
- tokenized string
-
startsWith
Deprecated.- Parameters:
string- the part which will be checked to start with- Returns:
- true in case of starting with the string false otherwise
-
fromString
Deprecated.- Parameters:
source- the source- Returns:
- the match pattern
-
java.nio.file.DirectoryStream.Filter<T>and related classes