Package io.permazen.encoding
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:
-
Field Summary
Fields inherited from class io.permazen.encoding.ConvertedEncoding
converter, delegate
Fields inherited from class io.permazen.encoding.AbstractEncoding
encodingId, typeToken
Fields inherited from interface io.permazen.encoding.Encoding
MAX_ARRAY_DIMENSIONS
-
Constructor Summary
-
Method Summary
Methods inherited from class io.permazen.encoding.ConvertedEncoding
compare, equals, fromString, getFixedWidth, hashCode, hasPrefix0x00, hasPrefix0xff, read, skip, sortsNaturally, supportsNull, toString, validate, write
Methods inherited from class io.permazen.encoding.AbstractEncoding
getDefaultValue, getDefaultValueBytes, getEncodingId, getTypeToken, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface io.permazen.encoding.Encoding
convert, decode, encode, getKeyRange, validateAndWrite
-
Constructor Details
-
InternetAddressEncoding
-