Liferay 6.2-ce-ga5

com.liferay.util.mail
Class InternetAddressUtil

java.lang.Object
  extended by com.liferay.util.mail.InternetAddressUtil

public class InternetAddressUtil
extends Object


Constructor Summary
InternetAddressUtil()
           
 
Method Summary
static boolean contains(javax.mail.internet.InternetAddress[] internetAddresses, String emailAddress)
           
static boolean isValid(String emailAddress)
           
static javax.mail.internet.InternetAddress[] removeEntry(javax.mail.Address[] addresses, String emailAddress)
           
static String toString(javax.mail.Address address)
           
static String toString(javax.mail.Address[] addresses)
           
static void validateAddress(javax.mail.Address address)
           
static void validateAddresses(javax.mail.Address[] addresses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternetAddressUtil

public InternetAddressUtil()
Method Detail

contains

public static boolean contains(javax.mail.internet.InternetAddress[] internetAddresses,
                               String emailAddress)

isValid

public static boolean isValid(String emailAddress)

removeEntry

public static javax.mail.internet.InternetAddress[] removeEntry(javax.mail.Address[] addresses,
                                                                String emailAddress)

toString

public static String toString(javax.mail.Address address)

toString

public static String toString(javax.mail.Address[] addresses)

validateAddress

public static void validateAddress(javax.mail.Address address)
                            throws javax.mail.internet.AddressException
Throws:
javax.mail.internet.AddressException

validateAddresses

public static void validateAddresses(javax.mail.Address[] addresses)
                              throws javax.mail.internet.AddressException
Throws:
javax.mail.internet.AddressException

Liferay 6.2-ce-ga5