public class AddressLiteral extends Object implements RemotePart
| Constructor and Description |
|---|
AddressLiteral(String smtpText,
java.net.InetAddress inetAddress) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
java.net.InetAddress |
inetAddress() |
String |
smtpText()
Returns the raw remote part text, as it was supplied in the SMTP
transaction.
|
String |
toString()
returns the address literal, including brackets, e.g. [192.0.2.0]
|
public AddressLiteral(String smtpText,
java.net.InetAddress inetAddress)
public java.net.InetAddress inetAddress()
public String smtpText()
RemotePartsmtpText in interface RemotePartpublic int hashCode()
hashCode in interface RemoteParthashCode in class Objectpublic boolean equals(Object obj)
equals in interface RemotePartequals in class Objectpublic String toString()
toString in class Object