public class Domain
extends Object
Constructor and Description |
---|
Domain(String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
smtpText()
Returns the raw domain text, as it was supplied in the SMTP transaction.
|
org.xbill.DNS.Name |
toName()
converts this value to a dnsjava absolute domain name, assuming that the
name represented by this object is absolute.
|
String |
toString() |
public String smtpText()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public org.xbill.DNS.Name toName() throws RuntimeException
RuntimeException
- if the name in this object is syntactically invalid as a
domain name