@Immutable public final class InternetAddressHelper extends Object
null.| Modifier and Type | Method and Description |
|---|---|
static com.helger.commons.email.EmailAddress |
getAsEmailAddress(javax.mail.internet.InternetAddress aInternetAddress)
Convert the passed
InternetAddress to an EmailAddress |
static javax.mail.internet.InternetAddress |
getAsInternetAddress(com.helger.commons.email.IEmailAddress aAddress,
Charset aCharset) |
static javax.mail.internet.InternetAddress |
getAsInternetAddress(com.helger.commons.email.IEmailAddress aAddress,
String sCharset) |
static javax.mail.internet.InternetAddress |
getAsInternetAddress(String sAddress,
String sPersonal,
Charset aCharset) |
static javax.mail.internet.InternetAddress |
getAsInternetAddress(String sAddress,
String sPersonal,
String sCharset) |
static javax.mail.internet.InternetAddress[] |
getAsInternetAddressArray(com.helger.commons.collection.impl.ICommonsList<? extends com.helger.commons.email.IEmailAddress> aAddresses,
Charset aCharset) |
@Nonnull public static javax.mail.internet.InternetAddress getAsInternetAddress(@Nonnull com.helger.commons.email.IEmailAddress aAddress, @Nullable Charset aCharset) throws javax.mail.internet.AddressException
javax.mail.internet.AddressException@Nonnull public static javax.mail.internet.InternetAddress getAsInternetAddress(@Nonnull String sAddress, @Nullable String sPersonal, @Nullable Charset aCharset) throws javax.mail.internet.AddressException
javax.mail.internet.AddressException@Nonnull public static javax.mail.internet.InternetAddress getAsInternetAddress(@Nonnull com.helger.commons.email.IEmailAddress aAddress, @Nullable String sCharset) throws UnsupportedEncodingException, javax.mail.internet.AddressException
UnsupportedEncodingExceptionjavax.mail.internet.AddressException@Nonnull public static javax.mail.internet.InternetAddress getAsInternetAddress(@Nonnull String sAddress, @Nullable String sPersonal, @Nullable String sCharset) throws UnsupportedEncodingException, javax.mail.internet.AddressException
UnsupportedEncodingExceptionjavax.mail.internet.AddressException@Nonnull public static javax.mail.internet.InternetAddress[] getAsInternetAddressArray(@Nonnull com.helger.commons.collection.impl.ICommonsList<? extends com.helger.commons.email.IEmailAddress> aAddresses, @Nullable Charset aCharset) throws javax.mail.internet.AddressException
javax.mail.internet.AddressException@Nullable public static com.helger.commons.email.EmailAddress getAsEmailAddress(@Nullable javax.mail.internet.InternetAddress aInternetAddress)
InternetAddress to an EmailAddressaInternetAddress - Source object. May be null.null if the source object is null.Copyright © 2014–2019 Philip Helger. All rights reserved.