Class RegexMatcher
java.lang.Object
org.hamcrest.BaseMatcher
org.hamcrest.TypeSafeMatcher
org.eclipse.jetty.toolchain.test.matchers.RegexMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher
,org.hamcrest.SelfDescribing
public class RegexMatcher
extends org.hamcrest.TypeSafeMatcher
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
describeTo
(org.hamcrest.Description description) static RegexMatcher
matchesPattern
(String pattern) static RegexMatcher
matchesPattern
(Pattern pattern) protected boolean
matchesSafely
(Object item) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Field Details
-
pattern
-
-
Constructor Details
-
RegexMatcher
-
RegexMatcher
-
-
Method Details
-
describeTo
public void describeTo(org.hamcrest.Description description) -
matchesSafely
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher
-
matchesPattern
-
matchesPattern
-