Class Path.Address

  • All Implemented Interfaces:
    Path.ParserResult
    Enclosing class:
    Path

    public final class Path.Address
    extends Object
    implements Path.ParserResult
    Representation for an address (either mailbox or group)
    Author:
    mirabilos (t.glaser@tarent.de)
    • Method Detail

      • toString

        public String toString()
        Renders the mailbox or group as (non-wrapped) string, i.e.:
        • localPart@domain (mailbox)
        • label <localPart@domain> (mailbox)
        • label:[group-list]; (group)
        Specified by:
        toString in interface Path.ParserResult
        Overrides:
        toString in class Object
        Returns:
        String rendered address