@Test public void testIsEmail() { assertTrue(StringUtils.isEmail("hello@kickstarter.com")); assertFalse(StringUtils.isEmail("hello@kickstarter")); }
public static boolean isEmail(final @NonNull CharSequence str) { return Patterns.EMAIL_ADDRESS.matcher(str).matches(); }
StringUtils { public static boolean isEmail(final @NonNull CharSequence str) { return Patterns.EMAIL_ADDRESS.matcher(str).matches(); } }
StringUtils { public static boolean isEmail(final @NonNull CharSequence str) { return Patterns.EMAIL_ADDRESS.matcher(str).matches(); } private  StringUtils(); }
StringUtils { public static boolean isEmail(final @NonNull CharSequence str) { return Patterns.EMAIL_ADDRESS.matcher(str).matches(); } private  StringUtils(); static boolean isEmail(final @NonNull CharSequence str); static boolean isEmpty(final @Nullable String str); static boolean isPresent(final @Nullable String str); static boolean isValidPassword(final @Nullable String str); static @NonNull String sentenceCase(final @NonNull String str); static String trim(final @NonNull String str); static @NonNull String wrapInParentheses(final @NonNull String str); }
StringUtils { public static boolean isEmail(final @NonNull CharSequence str) { return Patterns.EMAIL_ADDRESS.matcher(str).matches(); } private  StringUtils(); static boolean isEmail(final @NonNull CharSequence str); static boolean isEmpty(final @Nullable String str); static boolean isPresent(final @Nullable String str); static boolean isValidPassword(final @Nullable String str); static @NonNull String sentenceCase(final @NonNull String str); static String trim(final @NonNull String str); static @NonNull String wrapInParentheses(final @NonNull String str); static final int MINIMUM_PASSWORD_LENGTH; }