public final class MatcherConstructor extends Object
| Modifier and Type | Method and Description |
|---|---|
static Matcher |
contains(Pattern pattern)
Create a matcher for a containing pattern
|
static Matcher |
contains(String matcher)
Create a matcher for a containing string
|
static Matcher |
endsWith(Pattern pattern)
Create a matcher filtering by a string that ends with the pattern
|
static Matcher |
endsWith(String matcher)
Create a matcher filtering by a string that ends with the matcher
|
static Matcher |
equal(String matcher)
Create a matcher to equal the string matcher
|
static Matcher |
notContains(Pattern pattern)
Create a matcher for not containing the pattern
|
static Matcher |
notContains(String matcher)
Create a matcher for not containing a string
|
static Matcher |
notEndsWith(Pattern pattern)
Create a matcher filtering by a string that not ends with the pattern params
|
static Matcher |
notEndsWith(String matcher)
Create a matcher filtering by a string that not ends with the string params
|
static Matcher |
notStartsWith(Pattern pattern)
Create a matcher filtering by a string that not starts with the pattern params
|
static Matcher |
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 Matcher |
startsWith(Pattern pattern)
Create a matcher filtering by a string that start with the matcher
|
static Matcher |
startsWith(String matcher)
Create a matcher filtering by a string that start with the matcher
|
public static Matcher contains(String matcher)
matcher - public static Matcher contains(Pattern pattern)
pattern - public static Matcher notContains(String matcher)
matcher - public static Matcher notContains(Pattern pattern)
pattern - public static Matcher equal(String matcher)
matcher - public static Pattern regex(String pattern)
pattern - public static Matcher startsWith(String matcher)
matcher - public static Matcher startsWith(Pattern pattern)
pattern - public static Matcher endsWith(String matcher)
matcher - public static Matcher endsWith(Pattern pattern)
pattern - public static Matcher notStartsWith(String matcher)
matcher - public static Matcher notStartsWith(Pattern pattern)
pattern - public static Matcher notEndsWith(String matcher)
matcher - Copyright © 2014 AConsulting. All Rights Reserved.