public class StartsWithMatcher extends Matcher
| Constructor and Description |
|---|
StartsWithMatcher(Pattern value)
Constructor using a pattern as a value
|
StartsWithMatcher(String value)
Constructor using a string as a value
|
| Modifier and Type | Method and Description |
|---|---|
MatcherType |
getMatcherType()
Return the matcher type
|
boolean |
isSatisfiedBy(String o)
Check if the matcher is matched given the value
|
getMatcherSymbol, getPattern, getValue, isPreFilterpublic StartsWithMatcher(String value)
value - as string for class constructorpublic StartsWithMatcher(Pattern value)
value - as pattern for class constructorpublic MatcherType getMatcherType()
MatchergetMatcherType in class Matcherpublic boolean isSatisfiedBy(String o)
MatcherisSatisfiedBy in class Matchero - define the object of check nameCopyright © 2015 AConsulting. All Rights Reserved.