public final class MatcherConstructor extends Object
| Modifier and Type | Method and Description |
|---|---|
static AbstractMatcher |
contains(Pattern pattern)
Create a matcher for a containing pattern
|
static AbstractMatcher |
contains(String matcher)
Create a matcher for a containing string
|
static AbstractMatcher |
endsWith(Pattern pattern)
Create a matcher filtering by a string that ends with the pattern
|
static AbstractMatcher |
endsWith(String matcher)
Create a matcher filtering by a string that ends with the matcher
|
static AbstractMatcher |
equal(String matcher)
Create a matcher to equal the string matcher
|
static AbstractMatcher |
notContains(Pattern pattern)
Create a matcher for not containing the pattern
|
static AbstractMatcher |
notContains(String matcher)
Create a matcher for not containing a string
|
static AbstractMatcher |
notEndsWith(Pattern pattern)
Create a matcher filtering by a string that not ends with the pattern params
|
static AbstractMatcher |
notEndsWith(String matcher)
Create a matcher filtering by a string that not ends with the string params
|
static AbstractMatcher |
notStartsWith(Pattern pattern)
Create a matcher filtering by a string that not starts with the pattern params
|
static AbstractMatcher |
notStartsWith(String matcher)
Create a matcher filtering by a string that not starts with the string params
|
static Pattern |
regex(String pattern)
Create a Pattern given a regex.
|
static AbstractMatcher |
startsWith(Pattern pattern)
Create a matcher filtering by a string that start with the matcher
|
static AbstractMatcher |
startsWith(String matcher)
Create a matcher filtering by a string that start with the matcher
|
public static AbstractMatcher contains(String matcher)
matcher - string matcherpublic static AbstractMatcher contains(Pattern pattern)
pattern - pattern objectpublic static AbstractMatcher notContains(String matcher)
matcher - string matcherpublic static AbstractMatcher notContains(Pattern pattern)
pattern - string patternpublic static AbstractMatcher equal(String matcher)
matcher - string matcherpublic static Pattern regex(String pattern)
pattern - string patternpublic static AbstractMatcher startsWith(String matcher)
matcher - string matcherpublic static AbstractMatcher startsWith(Pattern pattern)
pattern - patternpublic static AbstractMatcher endsWith(String matcher)
matcher - string matcherpublic static AbstractMatcher endsWith(Pattern pattern)
pattern - patternpublic static AbstractMatcher notStartsWith(String matcher)
matcher - string matcherpublic static AbstractMatcher notStartsWith(Pattern pattern)
pattern - patternpublic static AbstractMatcher notEndsWith(String matcher)
matcher - string matcherpublic static AbstractMatcher notEndsWith(Pattern pattern)
pattern - patternCopyright © 2016 FluentLenium. All Rights Reserved.