|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfrog.build.extractor.clientConfiguration.PatternMatcher
public abstract class PatternMatcher
Ant-style path pattern matcher
| Method Summary | |
|---|---|
static boolean |
match(java.lang.String pattern,
java.lang.String str,
boolean isCaseSensitive)
THIS CODE WAS BORROWED FROM org.apache.tools.ant.types.selectors.SelectorUtils |
static boolean |
pathConflicts(java.lang.String path,
IncludeExcludePatterns patterns)
Indicates whether the given path conflicts with the given patterns. A path will conflict if: The include patterns list is not empty, and the path does not match any contained pattern. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean pathConflicts(java.lang.String path,
IncludeExcludePatterns patterns)
path - Path to checkpatterns - Patterns to match
public static boolean match(java.lang.String pattern,
java.lang.String str,
boolean isCaseSensitive)
THIS CODE WAS BORROWED FROM org.apache.tools.ant.types.selectors.SelectorUtils
pattern - The pattern to match against. Must not be null.str - The string which must be matched against the pattern. Must not be null.isCaseSensitive - Whether or not matching should be performed case sensitively.
true if the string matches against the pattern, or false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||