public class EmailHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
emailPattern |
Constructor and Description |
---|
EmailHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isValid(java.lang.String address) |
static java.util.Collection<Email> |
sanitize(java.util.Collection<Email> emails) |
static java.util.Collection<Email> |
sanitizeAndValidate(java.util.Collection<Email> emails) |
static void |
validate(java.util.Collection<Email> emails) |
static void |
validate(java.lang.String address) |
public static java.util.Collection<Email> sanitizeAndValidate(java.util.Collection<Email> emails) throws ServerFault
ServerFault
public static void validate(java.util.Collection<Email> emails) throws ServerFault
ServerFault
public static void validate(java.lang.String address) throws ServerFault
ServerFault
public static boolean isValid(java.lang.String address)
Copyright © 2021. All Rights Reserved.