Class CaseInsensitiveLocalPartSpecification

  • All Implemented Interfaces:
    LocalPartSpecification

    public class CaseInsensitiveLocalPartSpecification
    extends Object
    implements LocalPartSpecification
    This implementation does case-insensitive comparisons using the US locale. The standard SMTP only allows US-ASCII characters. Note that case sensitive mailbox names are also allowed by the standard. An extension allows non-ASCII characters and case insensitivity, but doesn't specify rules for that. E.g. the final delivery mailbox address must also specify a Locale.
    See Also:
    RFC 5336 SMTP Extension for Internationalized Email Addresses
    • Constructor Detail

      • CaseInsensitiveLocalPartSpecification

        public CaseInsensitiveLocalPartSpecification()
      • CaseInsensitiveLocalPartSpecification

        public CaseInsensitiveLocalPartSpecification​(String displayableName)
    • Method Detail

      • setValue

        public void setValue​(String displayableName)
      • toString

        public String toString()
        Overrides:
        toString in class Object