public class InternetAddressUtil
extends java.lang.Object
com.liferay.util.mail.InternetAddressUtil
Constructor and Description |
---|
InternetAddressUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
contains(javax.mail.internet.InternetAddress[] internetAddresses,
java.lang.String emailAddress) |
static boolean |
isValid(java.lang.String emailAddress) |
static javax.mail.internet.InternetAddress[] |
removeEntry(javax.mail.Address[] addresses,
java.lang.String emailAddress) |
static java.lang.String |
toString(javax.mail.Address address) |
static java.lang.String |
toString(javax.mail.Address[] addresses) |
static void |
validateAddress(javax.mail.Address address) |
static void |
validateAddresses(javax.mail.Address[] addresses) |
public static boolean contains(javax.mail.internet.InternetAddress[] internetAddresses, java.lang.String emailAddress)
public static boolean isValid(java.lang.String emailAddress)
public static javax.mail.internet.InternetAddress[] removeEntry(javax.mail.Address[] addresses, java.lang.String emailAddress)
public static java.lang.String toString(javax.mail.Address address)
public static java.lang.String toString(javax.mail.Address[] addresses)
public static void validateAddress(javax.mail.Address address) throws javax.mail.internet.AddressException
javax.mail.internet.AddressException
public static void validateAddresses(javax.mail.Address[] addresses) throws javax.mail.internet.AddressException
javax.mail.internet.AddressException