Class InternetAddressEncoding

java.lang.Object
io.permazen.encoding.AbstractEncoding<T>
io.permazen.encoding.ConvertedEncoding<T,String>
io.permazen.encoding.StringConvertedEncoding<jakarta.mail.internet.InternetAddress>
io.permazen.encoding.InternetAddressEncoding
All Implemented Interfaces:
Encoding<jakarta.mail.internet.InternetAddress>, NaturalSortAware, Serializable, Comparator<jakarta.mail.internet.InternetAddress>

public class InternetAddressEncoding extends StringConvertedEncoding<jakarta.mail.internet.InternetAddress>
InternetAddress email address encoding.

Null values are supported by this class.

Note: the method InternetAddress.equals() performs a case-insensitive comparison of email addresses, ignoring the personal name, whereas this encoding distinguishes instances that are not exactly equal.

See Also:
  • Constructor Details

    • InternetAddressEncoding

      public InternetAddressEncoding(EncodingId encodingId)