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 - public StartsWithMatcher(Pattern value)
value - public MatcherType getMatcherType()
MatchergetMatcherType in class Matcherpublic boolean isSatisfiedBy(String o)
MatcherisSatisfiedBy in class MatcherCopyright © 2014 AConsulting. All Rights Reserved.