public final class TextMatchers extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> org.hamcrest.Matcher<CharSequence> |
matchingPattern(Pattern p) |
static <T> org.hamcrest.Matcher<CharSequence> |
matchingPattern(String textPattern) |
static <T> org.hamcrest.Matcher<CharSequence> |
validBinaryNumber() |
static <T> org.hamcrest.Matcher<CharSequence> |
validDecimalNumber() |
static <T> org.hamcrest.Matcher<CharSequence> |
validHexadecimalNumber() |
static <T> org.hamcrest.Matcher<CharSequence> |
validJavaIdentifier() |
static <T> org.hamcrest.Matcher<CharSequence> |
validXmlName() |
static <T extends CharSequence> |
withCaseInsensitivePrefix(String prefix) |
static <T extends CharSequence> |
withCaseInsensitiveSuffix(String suffix) |
static <T extends CharSequence> |
withPrefix(String prefix) |
static <T extends CharSequence> |
withSuffix(String suffix) |
public static <T> org.hamcrest.Matcher<CharSequence> matchingPattern(Pattern p)
public static <T> org.hamcrest.Matcher<CharSequence> matchingPattern(String textPattern)
public static <T extends CharSequence> org.hamcrest.Matcher<T> withPrefix(String prefix)
public static <T extends CharSequence> org.hamcrest.Matcher<T> withCaseInsensitivePrefix(String prefix)
public static <T extends CharSequence> org.hamcrest.Matcher<T> withSuffix(String suffix)
public static <T extends CharSequence> org.hamcrest.Matcher<T> withCaseInsensitiveSuffix(String suffix)
public static <T> org.hamcrest.Matcher<CharSequence> validJavaIdentifier()
public static <T> org.hamcrest.Matcher<CharSequence> validXmlName()
public static <T> org.hamcrest.Matcher<CharSequence> validDecimalNumber()
public static <T> org.hamcrest.Matcher<CharSequence> validHexadecimalNumber()
public static <T> org.hamcrest.Matcher<CharSequence> validBinaryNumber()
Copyright © 2015–2016 Boleslav Bobcik - Auderis. All rights reserved.