Package mireka.address
Class RealReversePath
- Object
-
- mireka.address.RealReversePath
-
- All Implemented Interfaces:
ReversePath
public class RealReversePath extends Object implements ReversePath
RealReversePath is a non-null reverse path, supplied in the SMTP MAIL command.
-
-
Constructor Summary
Constructors Constructor Description RealReversePath(Mailbox mailbox)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MailboxgetMailbox()StringgetSmtpText()Returns the raw reverse path text, as it was supplied in the SMTP transaction, without the angle brackets.booleanisNull()StringtoString()Returns the displayable form of the reverse path.
-
-
-
Constructor Detail
-
RealReversePath
public RealReversePath(Mailbox mailbox)
-
-
Method Detail
-
isNull
public boolean isNull()
- Specified by:
isNullin interfaceReversePath
-
getSmtpText
public String getSmtpText()
Description copied from interface:ReversePathReturns the raw reverse path text, as it was supplied in the SMTP transaction, without the angle brackets.- Specified by:
getSmtpTextin interfaceReversePath
-
getMailbox
public Mailbox getMailbox()
-
toString
public String toString()
Description copied from interface:ReversePathReturns the displayable form of the reverse path.- Specified by:
toStringin interfaceReversePath- Overrides:
toStringin classObject
-
-