Package org.bgerp.plugin.msg.email
Class Addresses
java.lang.Object
java.util.AbstractMap<javax.mail.Message.RecipientType,List<javax.mail.internet.InternetAddress>>
java.util.HashMap<javax.mail.Message.RecipientType,List<javax.mail.internet.InternetAddress>>
org.bgerp.plugin.msg.email.Addresses
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<javax.mail.Message.RecipientType,
List<javax.mail.internet.InternetAddress>>
public class Addresses
extends HashMap<javax.mail.Message.RecipientType,List<javax.mail.internet.InternetAddress>>
EMail addresses recipients parser and serializer.
Supported recipient types:
TO
, CC
, BCC
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAppends an email as recipientTO
address.Deletes an email from all the types of existing addresses.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
Addresses
public Addresses() -
Addresses
-
-
Method Details
-
addTo
Appends an email as recipientTO
address.- Parameters:
value
- the email.- Returns:
-
exclude
Deletes an email from all the types of existing addresses.- Parameters:
value
- the email.- Returns:
-
serializeTo
-
serializeCc
-
serializeBcc
-