Package org.xbill.DNS
Class MRRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.MRRecord
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Record>
Mailbox Rename Record - specifies a rename of a mailbox.
- Author:
- Brian Wellington
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the new name of the mailbox specified by the domainprotected Name
protected void
rdataFromString
(Tokenizer st, Name origin) Converts the text format of an RR to the internal format - must be overridenprotected void
rrFromWire
(DNSInput in) Converts the type-specific RR to wire format - must be overriddenprotected String
Converts the type-specific RR to text format - must be overridden.protected void
rrToWire
(DNSOutput out, Compression c, boolean canonical) Converts the type-specific RR to wire format - must be overridden.Methods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName
-
Field Details
-
singleName
-
-
Constructor Details
-
MRRecord
Creates a new MR Record with the given data- Parameters:
newName
- The new name of the mailbox specified by the domain. domain.
-
-
Method Details
-
getNewName
Gets the new name of the mailbox specified by the domain -
rrFromWire
Description copied from class:Record
Converts the type-specific RR to wire format - must be overridden- Specified by:
rrFromWire
in classRecord
- Throws:
IOException
-
rdataFromString
Description copied from class:Record
Converts the text format of an RR to the internal format - must be overriden- Specified by:
rdataFromString
in classRecord
- Throws:
IOException
-
rrToString
Description copied from class:Record
Converts the type-specific RR to text format - must be overridden.- Specified by:
rrToString
in classRecord
-
getSingleName
-
rrToWire
Description copied from class:Record
Converts the type-specific RR to wire format - must be overridden.
-