Class Path.Address

java.lang.Object
org.evolvis.tartools.rfc822.Path.Address
All Implemented Interfaces:
Path.ParserResult
Enclosing class:
Path

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

    • toString

      public String toString()

      Renders the mailbox or group as (non-wrapped) string. That is:

      • 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